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 BytesReference
get()
protected void
innerOnFailure(java.lang.Exception e)
protected void
innerOnResponse(java.lang.Void v)
-
Method Details
-
get
- Specified by:
get
in interfaceCheckedSupplier<BytesReference,java.io.IOException>
- Throws:
java.io.IOException
-
innerOnResponse
protected void innerOnResponse(java.lang.Void v)- Specified by:
innerOnResponse
in classNotifyOnceListener<java.lang.Void>
-
innerOnFailure
protected void innerOnFailure(java.lang.Exception e)- Specified by:
innerOnFailure
in classNotifyOnceListener<java.lang.Void>
-