Class ConnectionHandlerMonitor


  • public class ConnectionHandlerMonitor
    extends MonitorProvider<MonitorProviderCfg>
    This class implements a monitor provider that will report generic information for an enabled Directory Server connection handler, including its protocol, listeners, and established connections.
    • Constructor Detail

      • ConnectionHandlerMonitor

        public ConnectionHandlerMonitor​(ConnectionHandler<? extends ConnectionHandlerCfg> connectionHandler)
        Creates a new instance of this connection handler monitor provider that will work with the provided connection handler. Most of the initialization should be handled in the initializeMonitorProvider method.
        Parameters:
        connectionHandler - The connection handler with which this monitor is associated.
    • Method Detail

      • getMonitorInstanceName

        public String getMonitorInstanceName()
        Retrieves the name of this monitor provider. It should be unique among all monitor providers, including all instances of the same monitor provider.
        Specified by:
        getMonitorInstanceName in class MonitorProvider<MonitorProviderCfg>
        Returns:
        The name of this monitor provider.
      • getMonitorObjectClass

        public ObjectClass getMonitorObjectClass()
        Retrieves the objectclass that should be included in the monitor entry created from this monitor provider.
        Overrides:
        getMonitorObjectClass in class MonitorProvider<MonitorProviderCfg>
        Returns:
        The objectclass that should be included in the monitor entry created from this monitor provider.
      • getMonitorData

        public MonitorData getMonitorData()
        Description copied from class: MonitorProvider
        Retrieves a set of attributes containing monitor data that should be returned to the client if the corresponding monitor entry is requested.
        Specified by:
        getMonitorData in class MonitorProvider<MonitorProviderCfg>
        Returns:
        A set of attributes containing monitor data that should be returned to the client if the corresponding monitor entry is requested.