| | |
| | | import java.util.LinkedList; |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.admin.std.server.MonitorProviderCfg; |
| | | import org.opends.server.api.Backend; |
| | | import org.opends.server.api.MonitorProvider; |
| | | import org.opends.server.config.ConfigEntry; |
| | | import org.opends.server.schema.BooleanSyntax; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.AttributeType; |
| | |
| | | * writability mode, and the number of entries it contains. |
| | | */ |
| | | public class BackendMonitor |
| | | extends MonitorProvider |
| | | extends MonitorProvider<MonitorProviderCfg> |
| | | { |
| | | |
| | | |
| | | |
| | | // The attribute type that will be used to report the backend ID. |
| | | private AttributeType backendIDType; |
| | | |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public void initializeMonitorProvider(ConfigEntry configEntry) |
| | | public void initializeMonitorProvider(MonitorProviderCfg configuration) |
| | | { |
| | | monitorName = backend.getBackendID() + " Backend"; |
| | | |