public class EntryCacheMonitorProvider extends MonitorProvider<org.forgerock.opendj.server.config.server.EntryCacheMonitorProviderCfg>
Constructor and Description |
---|
EntryCacheMonitorProvider()
Creates default instance of this monitor provider.
|
EntryCacheMonitorProvider(String entryCacheName,
EntryCache<? extends org.forgerock.opendj.server.config.server.EntryCacheCfg> entryCache)
Creates implementation specific instance of this monitor provider.
|
Modifier and Type | Method and Description |
---|---|
MonitorData |
getMonitorData()
Retrieves a set of attributes containing monitor data that should be returned to the client if the corresponding
monitor entry is requested.
|
String |
getMonitorInstanceName()
Retrieves the name of this monitor provider.
|
void |
initializeMonitorProvider(org.forgerock.opendj.server.config.server.EntryCacheMonitorProviderCfg configuration)
Initializes this monitor provider based on the information in the provided configuration entry.
|
finalizeMonitorProvider, getMonitorInstanceDn, getMonitorObjectClass, isConfigurationAcceptable, scheduleUpdate
public EntryCacheMonitorProvider()
public EntryCacheMonitorProvider(String entryCacheName, EntryCache<? extends org.forgerock.opendj.server.config.server.EntryCacheCfg> entryCache)
entryCacheName
- The name to use for this monitor provider.entryCache
- The entry cache to associate this monitor provider with.public void initializeMonitorProvider(org.forgerock.opendj.server.config.server.EntryCacheMonitorProviderCfg configuration) throws org.forgerock.opendj.config.server.ConfigException
MonitorProvider
initializeMonitorProvider
in class MonitorProvider<org.forgerock.opendj.server.config.server.EntryCacheMonitorProviderCfg>
configuration
- The configuration to use to initialize this monitor provider.org.forgerock.opendj.config.server.ConfigException
- If an unrecoverable problem arises in the process of performing the initialization.public String getMonitorInstanceName()
MonitorProvider
UnsupportedOperationException
indicating that neither this method nor MonitorProvider.getMonitorInstanceDn()
have been
overridden.getMonitorInstanceName
in class MonitorProvider<org.forgerock.opendj.server.config.server.EntryCacheMonitorProviderCfg>
public MonitorData getMonitorData()
MonitorProvider
getMonitorData
in class MonitorProvider<org.forgerock.opendj.server.config.server.EntryCacheMonitorProviderCfg>
Copyright © 2010–2017 ForgeRock AS. All rights reserved.