Class ClusteredExecutorInfo.JoiningContinuation
- java.lang.Object
-
- com.oracle.coherence.concurrent.executor.ClusteredExecutorInfo.JoiningContinuation
-
- All Implemented Interfaces:
Continuation<Object>,ComposableContinuation,PortableObject
- Enclosing class:
- ClusteredExecutorInfo
public static class ClusteredExecutorInfo.JoiningContinuation extends Object implements ComposableContinuation, PortableObject
-
-
Field Summary
Fields Modifier and Type Field Description protected CacheServicem_cacheServiceTheCacheServicefor accessing theTaskExecutorService.ExecutorInfocache.protected Stringm_sExecutorIdThe unique identity of theExecutor.
-
Constructor Summary
Constructors Constructor Description JoiningContinuation()Constructs aClusteredExecutorInfo.JoiningContinuation(required for serialization).JoiningContinuation(String sExecutorId, CacheService cacheService)Constructs anClusteredExecutorInfo.JoiningContinuation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComposableContinuationcompose(ComposableContinuation continuation)Composes thisComposableContinuationwith the specifiedComposableContinuationto produce aComposableContinuationthat replaces the need for this and the specifiedComposableContinuation.voidproceed(Object o)voidreadExternal(PofReader pofReader)voidwriteExternal(PofWriter pofWriter)
-
-
-
Field Detail
-
m_cacheService
protected CacheService m_cacheService
TheCacheServicefor accessing theTaskExecutorService.ExecutorInfocache.
-
-
Constructor Detail
-
JoiningContinuation
public JoiningContinuation()
Constructs aClusteredExecutorInfo.JoiningContinuation(required for serialization).
-
JoiningContinuation
public JoiningContinuation(String sExecutorId, CacheService cacheService)
Constructs anClusteredExecutorInfo.JoiningContinuation.- Parameters:
cacheService- theCacheServicesExecutorId- theExecutoridentity to update
-
-
Method Detail
-
proceed
public void proceed(Object o)
- Specified by:
proceedin interfaceContinuation<Object>
-
compose
public ComposableContinuation compose(ComposableContinuation continuation)
Description copied from interface:ComposableContinuationComposes thisComposableContinuationwith the specifiedComposableContinuationto produce aComposableContinuationthat replaces the need for this and the specifiedComposableContinuation.- Specified by:
composein interfaceComposableContinuation- Parameters:
continuation- theComposableContinuationto compose- Returns:
- the composed
ComposableContinuation
-
readExternal
public void readExternal(PofReader pofReader) throws IOException
- Specified by:
readExternalin interfacePortableObject- Throws:
IOException
-
writeExternal
public void writeExternal(PofWriter pofWriter) throws IOException
- Specified by:
writeExternalin interfacePortableObject- Throws:
IOException
-
-