public class CachingOperationInvoker extends java.lang.Object implements OperationInvoker
OperationInvoker that caches the response of an operation with a
configurable time to live.| Modifier and Type | Method and Description |
|---|---|
long |
getTimeToLive()
Return the maximum time in milliseconds that a response can be cached.
|
java.lang.Object |
invoke(InvocationContext context)
Invoke the underlying operation using the given
context. |
public long getTimeToLive()
public java.lang.Object invoke(InvocationContext context)
OperationInvokercontext.invoke in interface OperationInvokercontext - the context to use to invoke the operationnull