Package org.elasticsearch.transport
Class OutboundHandler.SendContext
java.lang.Object
org.elasticsearch.action.NotifyOnceListener<java.lang.Void>
org.elasticsearch.transport.OutboundHandler.SendContext
- All Implemented Interfaces:
ActionListener<java.lang.Void>,CheckedSupplier<BytesReference,java.io.IOException>
- Enclosing class:
- OutboundHandler
public class OutboundHandler.SendContext extends NotifyOnceListener<java.lang.Void> implements CheckedSupplier<BytesReference,java.io.IOException>
-
Method Summary
Modifier and Type Method Description BytesReferenceget()protected voidinnerOnFailure(java.lang.Exception e)protected voidinnerOnResponse(java.lang.Void v)
-
Method Details
-
get
- Specified by:
getin interfaceCheckedSupplier<BytesReference,java.io.IOException>- Throws:
java.io.IOException
-
innerOnResponse
protected void innerOnResponse(java.lang.Void v)- Specified by:
innerOnResponsein classNotifyOnceListener<java.lang.Void>
-
innerOnFailure
protected void innerOnFailure(java.lang.Exception e)- Specified by:
innerOnFailurein classNotifyOnceListener<java.lang.Void>
-