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
)
member AddPreCommitHook :
commitHook : IRiakPreCommitHook *
?commitFlags : bool
(* Defaults:
let _commitFlags = defaultArg commitFlags true
*)
-> RiakBucketProperties
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:
RiakBucketPropertiesA reference to the current properties object.
Remarks
Pre/Post-commit hooks are not typically modified.
See Also