public class MethodTimeoutProxy extends Object implements InvocationHandler
Constructor and Description |
---|
MethodTimeoutProxy(Object target,
long timeoutMillis)
Create a new MethodTimeoutProxy.
|
public MethodTimeoutProxy(Object target, long timeoutMillis)
target
- The object we are wrappingtimeoutMillis
- Copyright © 2022. All rights reserved.