Package org.apache.curator.x.async.api
Interface AsyncGetDataBuilder
- All Superinterfaces:
AsyncPathable<AsyncStage<byte[]>>
Builder to get ZNode data
-
Method Summary
Modifier and TypeMethodDescriptionAsyncPathable<AsyncStage<byte[]>> Cause the data to be de-compressed using the configured compression providerAsyncPathable<AsyncStage<byte[]>> decompressedStoringStatIn(org.apache.zookeeper.data.Stat stat) Have the operation fill the provided stat object and have the data be de-compressedAsyncPathable<AsyncStage<byte[]>> storingStatIn(org.apache.zookeeper.data.Stat stat) Have the operation fill the provided stat objectAsyncPathable<AsyncStage<byte[]>> Cause the data to not be de-compressed, even if theCuratorFrameworkhas compressionEnabledAsyncPathable<AsyncStage<byte[]>> undecompressedStoringStatIn(org.apache.zookeeper.data.Stat stat) Have the operation fill the provided stat object without the data being de-compressedMethods inherited from interface org.apache.curator.x.async.api.AsyncPathable
forPath
-
Method Details
-
decompressed
AsyncPathable<AsyncStage<byte[]>> decompressed()Cause the data to be de-compressed using the configured compression provider- Returns:
- this
-
undecompressed
AsyncPathable<AsyncStage<byte[]>> undecompressed()Cause the data to not be de-compressed, even if theCuratorFrameworkhas compressionEnabled- Returns:
- this
-
storingStatIn
Have the operation fill the provided stat object- Parameters:
stat- the stat to have filled in- Returns:
- this
-
decompressedStoringStatIn
Have the operation fill the provided stat object and have the data be de-compressed- Parameters:
stat- the stat to have filled in- Returns:
- this
- See Also:
-
undecompressedStoringStatIn
Have the operation fill the provided stat object without the data being de-compressed- Parameters:
stat- the stat to have filled in- Returns:
- this
- See Also:
-