public class LightweightServerHandler extends MonitorProvider<MonitorProviderCfg>
| Constructor and Description |
|---|
LightweightServerHandler(ReplicationServerHandler replServerHandler,
DSInfo dsInfo)
Creates a new LightweightServerHandler with the provided serverId,
connected to the remote Replication Server represented by
replServerHandler.
|
| 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.
|
int |
getServerId()
Get the serverID associated with this LDAP server / directory server.
|
void |
initializeMonitorProvider(MonitorProviderCfg configuration)
Initializes this monitor provider based on the information in the provided configuration entry.
|
void |
startHandler()
Start this server handler processing.
|
void |
stopHandler()
Stop this server handler processing.
|
DSInfo |
toDSInfo()
Creates a DSInfo structure representing this remote DS.
|
finalizeMonitorProvider, getMonitorObjectClass, isConfigurationAcceptable, scheduleUpdatepublic LightweightServerHandler(ReplicationServerHandler replServerHandler, DSInfo dsInfo)
replServerHandler - The server handler of the RS this remote DS is connected todsInfo - all the info for the represented DSpublic DSInfo toDSInfo()
public int getServerId()
public void startHandler()
public void stopHandler()
public void initializeMonitorProvider(MonitorProviderCfg configuration) throws org.forgerock.opendj.config.server.ConfigException, InitializationException
initializeMonitorProvider in class MonitorProvider<MonitorProviderCfg>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.InitializationException - If a problem occurs during initialization that is not related to the server
configuration.public String getMonitorInstanceName()
getMonitorInstanceName in class MonitorProvider<MonitorProviderCfg>public MonitorData getMonitorData()
MonitorProvidergetMonitorData in class MonitorProvider<MonitorProviderCfg>Copyright © 2010-2018 ForgeRock AS. All Rights Reserved.