Package com.yahoo.search.dispatch.rpc
Class CompressService
java.lang.Object
com.yahoo.search.dispatch.rpc.CompressService
- All Implemented Interfaces:
CompressPayload
Implement interface to compress/decompress request/response
- Author:
- baldersheim
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.yahoo.processing.request.CompoundNameThe compression method which will be used with rpc dispatch. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.yahoo.compress.Compressor.Compressionbyte[]decompress(Client.ProtobufResponse response)
-
Field Details
-
dispatchCompression
public static final com.yahoo.processing.request.CompoundName dispatchCompressionThe compression method which will be used with rpc dispatch. "lz4" (default) and "none" is supported.
-
-
Constructor Details
-
CompressService
public CompressService()
-
-
Method Details
-
compress
- Specified by:
compressin interfaceCompressPayload
-
decompress
- Specified by:
decompressin interfaceCompressPayload
-