Package org.apache.curator.x.async.api
Interface AsyncTransactionSetDataBuilder
-
- All Superinterfaces:
AsyncPathable<org.apache.curator.framework.api.transaction.CuratorOp>,AsyncPathAndBytesable<org.apache.curator.framework.api.transaction.CuratorOp>
public interface AsyncTransactionSetDataBuilder extends AsyncPathAndBytesable<org.apache.curator.framework.api.transaction.CuratorOp>
- See Also:
AsyncTransactionOp.setData()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsyncPathAndBytesable<org.apache.curator.framework.api.transaction.CuratorOp>compressed()Cause the data to be compressed using the configured compression providerAsyncPathAndBytesable<org.apache.curator.framework.api.transaction.CuratorOp>withVersion(int version)Changes the version number used.AsyncPathAndBytesable<org.apache.curator.framework.api.transaction.CuratorOp>withVersionCompressed(int version)Cause the data to be compressed using the configured compression provider.-
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 Detail
-
withVersion
AsyncPathAndBytesable<org.apache.curator.framework.api.transaction.CuratorOp> withVersion(int version)
Changes the version number used. By default, -1 is used- Parameters:
version- version to use- Returns:
- this
-
compressed
AsyncPathAndBytesable<org.apache.curator.framework.api.transaction.CuratorOp> compressed()
Cause the data to be compressed using the configured compression provider- Returns:
- this
-
withVersionCompressed
AsyncPathAndBytesable<org.apache.curator.framework.api.transaction.CuratorOp> withVersionCompressed(int version)
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
-
-