Class CreateShard
java.lang.Object
org.opendaylight.controller.cluster.datastore.messages.CreateShard
A message sent to the ShardManager to dynamically create a new shard.
- Author:
 - Thomas Pantelis
 
- 
Constructor Summary
ConstructorsConstructorDescriptionCreateShard(@NonNull ModuleShardConfiguration moduleShardConfig, @NonNull Shard.AbstractBuilder<?, ?> shardBuilder, @Nullable DatastoreContext datastoreContext) Constructor. - 
Method Summary
Modifier and TypeMethodDescription@Nullable DatastoreContext@NonNull ModuleShardConfiguration@NonNull Shard.AbstractBuilder<?, ?> toString() 
- 
Constructor Details
- 
CreateShard
public CreateShard(@NonNull ModuleShardConfiguration moduleShardConfig, @NonNull Shard.AbstractBuilder<?, ?> shardBuilder, @Nullable DatastoreContext datastoreContext) Constructor.- Parameters:
 moduleShardConfig- the configuration of the new shard.shardBuilder- used to obtain the Props for creating the shard actor instance.datastoreContext- the DatastoreContext for the new shard. If null, the default is used.
 
 - 
 - 
Method Details