public class ModuleShardConfiguration extends Object
Constructor and Description |
---|
ModuleShardConfiguration(@NonNull URI namespace,
@NonNull String moduleName,
@NonNull String shardName,
@Nullable String shardStrategyName,
@NonNull 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.