java.lang.Object
org.elasticsearch.core.AbstractRefCounted
org.elasticsearch.transport.InboundMessage
- All Implemented Interfaces:
RefCounted
-
Field Summary
Fields inherited from class org.elasticsearch.core.AbstractRefCounted
ALREADY_CLOSED_MESSAGE
-
Constructor Summary
ConstructorsConstructorDescriptionInboundMessage
(Header header, boolean isPing) InboundMessage
(Header header, Exception exception) InboundMessage
(Header header, ReleasableBytesReference content, Releasable breakerRelease) -
Method Summary
Methods inherited from class org.elasticsearch.core.AbstractRefCounted
alreadyClosed, decRef, hasReferences, incRef, of, refCount, touch, tryIncRef
-
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
-
toString
-
closeInternal
protected void closeInternal()- Specified by:
closeInternal
in classAbstractRefCounted
-