Package | Description |
---|---|
org.opendaylight.controller.cluster.datastore.config | |
org.opendaylight.controller.cluster.datastore.shardstrategy |
Modifier and Type | Method and Description |
---|---|
ShardStrategy |
ModuleConfig.getShardStrategy() |
ShardStrategy |
ConfigurationImpl.getStrategyForModule(String moduleName) |
ShardStrategy |
Configuration.getStrategyForModule(String moduleName)
Returns the ShardStrategy for the given module name or null if the module is not found.
|
ShardStrategy |
ConfigurationImpl.getStrategyForPrefix(org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier prefix) |
ShardStrategy |
Configuration.getStrategyForPrefix(org.opendaylight.mdsal.dom.api.DOMDataTreeIdentifier prefix)
Returns the ShardStrategy for the given prefix or null if the prefix is not found.
|
Modifier and Type | Method and Description |
---|---|
ModuleConfig.Builder |
ModuleConfig.Builder.shardStrategy(ShardStrategy newShardStrategy) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultShardStrategy
The DefaultShardStrategy basically puts all data into the default shard.
|
class |
ModuleShardStrategy |
class |
PrefixShardStrategy
Shard Strategy that resolves a path to a prefix shard name.
|
Modifier and Type | Method and Description |
---|---|
ShardStrategy |
ShardStrategyFactory.getStrategy(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier path) |
static ShardStrategy |
ShardStrategyFactory.newShardStrategyInstance(String moduleName,
String strategyName,
Configuration configuration) |
Copyright © 2019 OpenDaylight. All rights reserved.