Click or drag to resize
RiakBucketPropertiesAddPreCommitHook Method
Add a pre-commit hook to the bucket properties.

Namespace:  RiakClient.Models
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public RiakBucketProperties AddPreCommitHook(
	IRiakPreCommitHook commitHook,
	bool commitFlags = true
)

Parameters

commitHook
Type: RiakClient.Models.CommitHookIRiakPreCommitHook
The IRiakPreCommitHook to add.
commitFlags (Optional)
Type: SystemBoolean
The option to set HasPrecommit to true at the same time.

Return Value

Type: RiakBucketProperties
A reference to the current properties object.
Remarks
Pre/Post-commit hooks are not typically modified.
See Also