public class ConsensusProfileConfig extends ProfileConfig
| Constructor and Description |
|---|
ConsensusProfileConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDataGroup()
Returns the data partition group name.
|
String |
getDataPath()
Returns the data file path.
|
String |
getManagementGroup()
Returns the management partition group name.
|
Set<String> |
getMembers()
Returns the consensus members.
|
int |
getPartitions()
Returns the number of data partitions to configure.
|
int |
getPartitionSize()
Returns the data partition size.
|
Profile.Type |
getType()
Returns the type name.
|
ConsensusProfileConfig |
setDataGroup(String dataGroup)
Sets the data partition group name.
|
ConsensusProfileConfig |
setDataPath(String dataPath)
Sets the consensus data file path.
|
ConsensusProfileConfig |
setManagementGroup(String managementGroup)
Sets the management partition group name.
|
ConsensusProfileConfig |
setMembers(Set<String> members)
Sets the consensus members.
|
ConsensusProfileConfig |
setPartitions(int partitions)
Sets the number of data partitions to configure.
|
ConsensusProfileConfig |
setPartitionSize(int partitionSize)
Sets the data partition size.
|
public Profile.Type getType()
TypedConfigpublic String getDataPath()
public ConsensusProfileConfig setDataPath(String dataPath)
dataPath - the consensus data file pathpublic String getManagementGroup()
public ConsensusProfileConfig setManagementGroup(String managementGroup)
managementGroup - the management partition group namepublic String getDataGroup()
public ConsensusProfileConfig setDataGroup(String dataGroup)
dataGroup - the data partition group namepublic int getPartitionSize()
public ConsensusProfileConfig setPartitionSize(int partitionSize)
partitionSize - the data partition sizepublic int getPartitions()
public ConsensusProfileConfig setPartitions(int partitions)
partitions - the number of data partitions to configurepublic Set<String> getMembers()
public ConsensusProfileConfig setMembers(Set<String> members)
members - the consensus membersCopyright © 2013–2018. All rights reserved.