public interface ConfigRegistry extends LookupRegistry, ServiceReferenceReadableRegistry
Modifier and Type | Field and Description |
---|---|
static ObjectName |
OBJECT_NAME
Only well-known ObjectName in configuration system, under which
ConfigRegistry is registered.
|
static ObjectName |
OBJECT_NAME_NO_NOTIFICATIONS |
Modifier and Type | Method and Description |
---|---|
ObjectName |
beginConfig()
Opens new configuration transaction.
|
CommitStatus |
commitConfig(ObjectName transactionControllerON)
Verifies and commits transaction.
|
Set<String> |
getAvailableModuleNames()
Get the module names available in the system.
|
List<ObjectName> |
getOpenConfigs()
List of open configuration transactions.
|
boolean |
isHealthy()
Will return true unless there was a transaction that succeeded during
validation but failed in second phase of commit.
|
checkConfigBeanExists, getAvailableModuleFactoryQNames, lookupConfigBean, lookupConfigBeans, lookupConfigBeans, lookupConfigBeans, lookupRuntimeBeans, lookupRuntimeBeans
checkServiceReferenceExists, getServiceInterfaceName, getServiceMapping, getServiceReference, lookupConfigBeanByServiceInterfaceName, lookupServiceInterfaceNames, lookupServiceReferencesByServiceInterfaceName
static final ObjectName OBJECT_NAME
static final ObjectName OBJECT_NAME_NO_NOTIFICATIONS
ObjectName beginConfig()
ObjectName
of
ConfigTransactionControllerMXBean
CommitStatus commitConfig(ObjectName transactionControllerON) throws ConflictingVersionException, ValidationException
transactionControllerON
- ObjectName
of
ConfigTransactionControllerMXBean
that was received in beginConfig()
method call.ValidationException
- if validation failsConflictingVersionException
- if configuration state was changedList<ObjectName> getOpenConfigs()
boolean isHealthy()
Copyright © 2019 OpenDaylight. All rights reserved.