private static class NonstopCacheEventListener.CacheEventClusteredOperation extends java.lang.Object implements ClusterOperation<java.lang.Void>
Modifier and Type | Field and Description |
---|---|
private Ehcache |
cache |
private Element |
element |
private NonstopCacheEventListener.CacheEventType |
eventType |
private CacheEventListener |
underlyingListener |
Constructor and Description |
---|
CacheEventClusteredOperation(Ehcache cache,
NonstopCacheEventListener.CacheEventType eventType,
CacheEventListener underlyingListener,
Element element) |
Modifier and Type | Method and Description |
---|---|
java.lang.Void |
performClusterOperation()
Perform the actual operation.
|
java.lang.Void |
performClusterOperationTimedOut(TimeoutBehaviorConfiguration.TimeoutBehaviorType configuredTimeoutBehavior)
Perform action when the actual operation is not able to complete.
|
private final NonstopCacheEventListener.CacheEventType eventType
private final CacheEventListener underlyingListener
private final Ehcache cache
private final Element element
public CacheEventClusteredOperation(Ehcache cache, NonstopCacheEventListener.CacheEventType eventType, CacheEventListener underlyingListener, Element element)
public java.lang.Void performClusterOperation() throws java.lang.Exception
ClusterOperation
performClusterOperation
in interface ClusterOperation<java.lang.Void>
java.lang.Exception
public java.lang.Void performClusterOperationTimedOut(TimeoutBehaviorConfiguration.TimeoutBehaviorType configuredTimeoutBehavior)
ClusterOperation
TimeoutBehaviorConfiguration.TimeoutBehaviorType
performClusterOperationTimedOut
in interface ClusterOperation<java.lang.Void>
configuredTimeoutBehavior
- The configured TimeoutBehaviorConfiguration.TimeoutBehaviorType