Package org.apache.curator.x.async.api
Interface AsyncTransactionSetDataBuilder
- All Superinterfaces:
AsyncPathable<CuratorOp>
,AsyncPathAndBytesable<CuratorOp>
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionCause the data to be compressed using the configured compression providerCause the data to be uncompressed, even if theCuratorFramework
has compressionEnabledwithVersion
(int version) Changes the version number used.withVersionCompressed
(int version) Cause the data to be compressed using the configured compression provider.withVersionUncompressed
(int version) Cause the data to be uncompressed, even if theCuratorFramework
has compressionEnabled.Methods inherited from interface org.apache.curator.x.async.api.AsyncPathable
forPath
Methods inherited from interface org.apache.curator.x.async.api.AsyncPathAndBytesable
forPath
-
Method Details
-
withVersion
Changes the version number used. By default, -1 is used- Parameters:
version
- version to use- Returns:
- this
-
compressed
AsyncPathAndBytesable<CuratorOp> compressed()Cause the data to be compressed using the configured compression provider- Returns:
- this
-
uncompressed
AsyncPathAndBytesable<CuratorOp> uncompressed()Cause the data to be uncompressed, even if theCuratorFramework
has compressionEnabled- Returns:
- this
-
withVersionCompressed
Cause the data to be compressed using the configured compression provider. Also changes the version number used. By default, -1 is used- Parameters:
version
- version to use- Returns:
- this
-
withVersionUncompressed
Cause the data to be uncompressed, even if theCuratorFramework
has compressionEnabled. Also changes the version number used. By default, -1 is used- Parameters:
version
- version to use- Returns:
- this
-