CompletionHandler<V,A>
protected class ClusterProtocolImpl.CompletionHelper<V,A> extends java.lang.Object implements CompletionHandler<V,A>
Constructor | Description |
---|---|
CompletionHelper(CompletionHandler<V,? super A> handler) |
Modifier and Type | Method | Description |
---|---|---|
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.
|
public CompletionHelper(CompletionHandler<V,? super A> handler)
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 initiatedSend comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.