Class JGroupsRaftCommandOptions.WriteBuilder
java.lang.Object
org.jgroups.raft.command.JGroupsRaftCommandOptions.WriteBuilder
- Enclosing interface:
JGroupsRaftCommandOptions
Builder for write command options.
- Since:
- 2.0
- Author:
- José Bolina
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the write command options.ignoreReturnValue(boolean ignore) Sets whether to ignore the return value of the write operation.
-
Constructor Details
-
WriteBuilder
public WriteBuilder()
-
-
Method Details
-
ignoreReturnValue
Sets whether to ignore the return value of the write operation.- Parameters:
ignore-trueto ignore return values,falseotherwise- Returns:
- this builder
-
build
Builds the write command options.- Returns:
- the configured write options
-