Package org.elasticsearch.transport
Class InboundMessage
java.lang.Object
org.elasticsearch.transport.InboundMessage
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.elasticsearch.core.Releasable
-
Constructor Summary
ConstructorDescriptionInboundMessage(Header header, boolean isPing)
InboundMessage(Header header, Exception exception)
InboundMessage(Header header, ReleasableBytesReference content, org.elasticsearch.core.Releasable breakerRelease)
-
Method Summary
-
Constructor Details
-
InboundMessage
public InboundMessage(Header header, ReleasableBytesReference content, org.elasticsearch.core.Releasable breakerRelease) -
InboundMessage
-
InboundMessage
-
-
Method Details
-
getHeader
-
getContentLength
public int getContentLength() -
getException
-
isPing
public boolean isPing() -
isShortCircuit
public boolean isShortCircuit() -
takeBreakerReleaseControl
public org.elasticsearch.core.Releasable takeBreakerReleaseControl() -
openOrGetStreamInput
- Throws:
IOException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.elasticsearch.core.Releasable
-
toString
-