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