public class CreateShard extends Object
| Constructor and Description |
|---|
CreateShard(ModuleShardConfiguration moduleShardConfig,
Shard.AbstractBuilder<?,?> shardBuilder,
DatastoreContext datastoreContext)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DatastoreContext |
getDatastoreContext() |
ModuleShardConfiguration |
getModuleShardConfig() |
Shard.AbstractBuilder<?,?> |
getShardBuilder() |
String |
toString() |
public CreateShard(@Nonnull ModuleShardConfiguration moduleShardConfig, @Nonnull Shard.AbstractBuilder<?,?> shardBuilder, @Nullable DatastoreContext datastoreContext)
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.@Nonnull public ModuleShardConfiguration getModuleShardConfig()
@Nonnull public Shard.AbstractBuilder<?,?> getShardBuilder()
@Nullable public DatastoreContext getDatastoreContext()
Copyright © 2019 OpenDaylight. All rights reserved.