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, INVALID_DECREF_MESSAGE
Fields inherited from interface org.elasticsearch.core.RefCounted
ALWAYS_REFERENCED
-
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.core.RefCounted
mustIncRef
-
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
-