Class ModuleShardConfiguration
java.lang.Object
org.opendaylight.controller.cluster.datastore.config.ModuleShardConfiguration
Encapsulates information for adding a new module shard configuration.
- Author:
- Thomas Pantelis
-
Constructor Summary
ConstructorsConstructorDescriptionModuleShardConfiguration
(@NonNull XMLNamespace namespace, @NonNull String moduleName, @NonNull String shardName, @Nullable String shardStrategyName, @NonNull Collection<MemberName> shardMemberNames) Constructs a new instance. -
Method Summary
-
Constructor Details
-
ModuleShardConfiguration
public ModuleShardConfiguration(@NonNull XMLNamespace namespace, @NonNull String moduleName, @NonNull String shardName, @Nullable String shardStrategyName, @NonNull Collection<MemberName> shardMemberNames) Constructs a new instance.- Parameters:
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.
-
-
Method Details