public class ModuleShardConfiguration extends Object
Constructor and Description |
---|
ModuleShardConfiguration(URI namespace,
String moduleName,
String shardName,
String shardStrategyName,
Collection<MemberName> shardMemberNames)
Constructs a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getModuleName() |
URI |
getNamespace() |
Collection<MemberName> |
getShardMemberNames() |
String |
getShardName() |
String |
getShardStrategyName() |
String |
toString() |
public ModuleShardConfiguration(@Nonnull URI namespace, @Nonnull String moduleName, @Nonnull String shardName, @Nullable String shardStrategyName, @Nonnull Collection<MemberName> shardMemberNames)
namespace
- the name space of the module.moduleName
- the name of the module.shardName
- the name of the shard.shardStrategyName
- the name of the sharding strategy (eg "module"). If null the default strategy
is used.shardMemberNames
- the names of the shard's member replicas.public URI getNamespace()
public String getModuleName()
public String getShardName()
public String getShardStrategyName()
public Collection<MemberName> getShardMemberNames()
Copyright © 2019 OpenDaylight. All rights reserved.