Package org.elasticsearch.transport
Class DeflateTransportDecompressor
java.lang.Object
org.elasticsearch.transport.DeflateTransportDecompressor
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.elasticsearch.core.Releasable
,TransportDecompressor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
decompress(BytesReference bytesReference)
Decompress the provided bytesboolean
isEOS()
pollDecompressedPage(boolean isEOS)
-
Constructor Details
-
DeflateTransportDecompressor
-
-
Method Details
-
decompress
Description copied from interface:TransportDecompressor
Decompress the provided bytes- Specified by:
decompress
in interfaceTransportDecompressor
- Parameters:
bytesReference
- to decompress- Returns:
- number of compressed bytes consumed
- Throws:
IOException
-
isEOS
public boolean isEOS() -
pollDecompressedPage
- Specified by:
pollDecompressedPage
in interfaceTransportDecompressor
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.elasticsearch.core.Releasable
- Specified by:
close
in interfaceTransportDecompressor
-