| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.config.ConfigEntry; |
| | | import org.opends.server.admin.std.server.MonitorProviderCfg; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.DebugLogLevel; |
| | |
| | | * implemented by a Directory Server module that can provide usage, |
| | | * performance, availability, or other kinds of monitor information |
| | | * to clients. |
| | | * |
| | | * @param <T> The type of configuration handled by this monitor |
| | | * provider. |
| | | */ |
| | | public abstract class MonitorProvider |
| | | public abstract class MonitorProvider<T extends MonitorProviderCfg> |
| | | extends DirectoryThread |
| | | { |
| | | /** |
| | |
| | | * Initializes this monitor provider based on the information in the |
| | | * provided configuration entry. |
| | | * |
| | | * @param configEntry The configuration entry that contains the |
| | | * information to use to initialize this |
| | | * monitor provider. |
| | | * @param configuration The configuration to use to initialize |
| | | * this monitor provider. |
| | | * |
| | | * @throws ConfigException If an unrecoverable problem arises in |
| | | * the process of performing the |
| | |
| | | * related to the server |
| | | * configuration. |
| | | */ |
| | | public abstract void initializeMonitorProvider( |
| | | ConfigEntry configEntry) |
| | | public abstract void initializeMonitorProvider(T configuration) |
| | | throws ConfigException, InitializationException; |
| | | |
| | | |