Package org.apache.curator.framework.api
Interface Compressible<T>
- All Known Subinterfaces:
CreateBuilder
,CreateBuilder2
,CreateBuilderMain
,SetDataBuilder
,TransactionCreateBuilder<T>
,TransactionCreateBuilder2<T>
,TransactionSetDataBuilder<T>
- All Known Implementing Classes:
CreateBuilderImpl
,SetDataBuilderImpl
public interface Compressible<T>
-
Method Summary
Modifier and TypeMethodDescriptionCause the data to be compressed using the configured compression providerCause the data to be uncompressed, even if theCuratorFramework
has compressionEnabled
-
Method Details
-
compressed
T compressed()Cause the data to be compressed using the configured compression provider- Returns:
- this
-
uncompressed
T uncompressed()Cause the data to be uncompressed, even if theCuratorFramework
has compressionEnabled- Returns:
- this
-