public abstract class PartitionGroupConfig<C extends PartitionGroupConfig<C>> extends Object implements TypedConfig<PartitionGroup.Type>, NamedConfig<C>
| Constructor and Description |
|---|
PartitionGroupConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the configuration name.
|
int |
getPartitions()
Returns the number of partitions in the group.
|
C |
setName(String name)
Sets the configuration name.
|
C |
setPartitions(int partitions)
Sets the number of partitions in the group.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypepublic String getName()
NamedConfiggetName in interface NamedConfig<C extends PartitionGroupConfig<C>>public C setName(String name)
NamedConfigsetName in interface NamedConfig<C extends PartitionGroupConfig<C>>name - the configuration namepublic int getPartitions()
public C setPartitions(int partitions)
partitions - the number of partitions in the groupCopyright © 2013–2018. All rights reserved.