|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.clusterprotocol.ClusterProtocolImpl.CompletionHelper<V,A>
protected class ClusterProtocolImpl.CompletionHelper<V,A>
Constructor Summary | |
---|---|
ClusterProtocolImpl.CompletionHelper(CompletionHandler<V,? super A> handler)
|
Method Summary | |
---|---|
void |
completed(V result,
A attachment)
Invoked when an operation has completed. |
void |
failed(java.lang.Throwable exc,
A attachment)
Invoked when an operation fails. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClusterProtocolImpl.CompletionHelper(CompletionHandler<V,? super A> handler)
Method Detail |
---|
public void completed(V result, A attachment)
CompletionHandler
completed
in interface CompletionHandler<V,A>
result
- the result of the operationattachment
- the object attached to the operation when it was initiatedpublic void failed(java.lang.Throwable exc, A attachment)
CompletionHandler
failed
in interface CompletionHandler<V,A>
exc
- the exception to indicate why the operation failedattachment
- the object attached to the operation when it was initiated
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |