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