Click or drag to resize
RiakBucketPropertiesAddPostCommitHook Method
Add a post-commit hook to the bucket properties.

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

Parameters

commitHook
Type: RiakClient.Models.CommitHookIRiakPostCommitHook
The commit hook to add.
commitFlags (Optional)
Type: SystemBoolean
The option to set HasPostcommit 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