Package org.elasticsearch.transport
Class InboundMessage
org.elasticsearch.transport.InboundMessage
- All Implemented Interfaces:
,
,
org.elasticsearch.core.Releasable
public class InboundMessage
extends
implements org.elasticsearch.core.Releasable
-
Constructor Summary
ConstructorDescriptionInboundMessage(Header header, boolean isPing)
InboundMessage(Header header, exception)
InboundMessage(Header header, ReleasableBytesReference content, org.elasticsearch.core.Releasable breakerRelease)
-
Method Summary
Methods inherited from class java.lang.
, , , , , , , , ,
-
Constructor Details
-
InboundMessage
public InboundMessage(Header header, ReleasableBytesReference content, org.elasticsearch.core.Releasable breakerRelease) -
InboundMessage
-
InboundMessage
-
-
Method Details
-
getHeader
-
getContentLength
public int getContentLength() -
getException
public getException() -
isPing
public boolean isPing() -
isShortCircuit
public boolean isShortCircuit() -
takeBreakerReleaseControl
public org.elasticsearch.core.Releasable takeBreakerReleaseControl() -
openOrGetStreamInput
- Throws:
-
close
public void close()- Specified by:
in interface
- Specified by:
in interface
- Specified by:
close
in interfaceorg.elasticsearch.core.Releasable
-
toString
public toString()- Overrides:
in class
-