T
- type of the configpublic abstract class AbstractBasicConfig<T extends AbstractBasicConfig> extends Object implements SplitBrainMergeTypeProvider, IdentifiedDataSerializable, NamedConfig
Modifier and Type | Field and Description |
---|---|
protected MergePolicyConfig |
mergePolicyConfig |
protected String |
name |
protected String |
quorumName |
Modifier | Constructor and Description |
---|---|
protected |
AbstractBasicConfig() |
protected |
AbstractBasicConfig(AbstractBasicConfig config) |
protected |
AbstractBasicConfig(String name) |
Modifier and Type | Method and Description |
---|---|
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
MergePolicyConfig |
getMergePolicyConfig()
Gets the
MergePolicyConfig of this data structure. |
String |
getName()
Gets the name of this data structure.
|
String |
getQuorumName()
Returns the quorum name for operations.
|
T |
setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Sets the
MergePolicyConfig for this data structure. |
T |
setName(String name)
Sets the name of this data structure.
|
T |
setQuorumName(String quorumName)
Sets the quorum name for operations.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProvidedMergeTypes
getId
readData, writeData
protected String name
protected String quorumName
protected MergePolicyConfig mergePolicyConfig
protected AbstractBasicConfig()
protected AbstractBasicConfig(String name)
protected AbstractBasicConfig(AbstractBasicConfig config)
public String getName()
getName
in interface NamedConfig
public T setName(String name)
setName
in interface NamedConfig
name
- the name of this data structurepublic MergePolicyConfig getMergePolicyConfig()
MergePolicyConfig
of this data structure.MergePolicyConfig
of this data structurepublic T setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
MergePolicyConfig
for this data structure.public String getQuorumName()
public T setQuorumName(String quorumName)
quorumName
- the quorum namepublic int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.