Class DelegatingTimeoutProxy

  • All Implemented Interfaces:
    InvocationHandler

    public class DelegatingTimeoutProxy
    extends Object
    implements InvocationHandler
    Delegating timeout proxy that selects the appropriate timeout handler depending on the method.
    • Constructor Detail

      • DelegatingTimeoutProxy

        public DelegatingTimeoutProxy​(Object target,
                                      long timeoutMillis,
                                      int bufferSize)
        Create a new MethodTimeoutProxy.
        Parameters:
        target - The object we are wrapping
        timeoutMillis -