|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.constructs.nonstop.store.RejoinAwareBlockingOperation<V>
V
- public class RejoinAwareBlockingOperation<V>
A Callable
implementation that accepts another callable delegate for executing it in nonstop+rejoin context.
Executing the call()
operation will execute the delegate callable and block until it returns. On rejoin, the delegate callable
is executed again.
Constructor Summary | |
---|---|
RejoinAwareBlockingOperation(ExecutorServiceStore executorServiceStore,
Callable<V> callable)
Public constructor |
Method Summary | |
---|---|
V |
call()
. |
void |
clusterRejoined()
Called when cluster rejoin happens |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RejoinAwareBlockingOperation(ExecutorServiceStore executorServiceStore, Callable<V> callable)
executorServiceStore
- callable
- Method Detail |
---|
public V call() throws Exception
InterruptedException
if the executing thread is interrupted before the call returns
call
in interface Callable<V>
Exception
public void clusterRejoined()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |