| | |
| | | */ |
| | | public void initializeMonitorProvider(ConfigEntry configEntry) |
| | | { |
| | | |
| | | monitorName = backend.getBackendID() + " Backend"; |
| | | |
| | | backendIDType = DirectoryConfig.getAttributeType(ATTR_MONITOR_BACKEND_ID, |
| | |
| | | */ |
| | | public String getMonitorInstanceName() |
| | | { |
| | | |
| | | return monitorName; |
| | | } |
| | | |
| | |
| | | */ |
| | | public ObjectClass getMonitorObjectClass() |
| | | { |
| | | |
| | | return DirectoryConfig.getObjectClass(OC_MONITOR_BACKEND, true); |
| | | } |
| | | |
| | |
| | | */ |
| | | public long getUpdateInterval() |
| | | { |
| | | |
| | | // We don't need do anything on a periodic basis. |
| | | return 0; |
| | | } |
| | |
| | | */ |
| | | public void updateMonitorData() |
| | | { |
| | | |
| | | // No implementaiton is required. |
| | | } |
| | | |
| | |
| | | */ |
| | | public List<Attribute> getMonitorData() |
| | | { |
| | | |
| | | LinkedList<Attribute> attrs = new LinkedList<Attribute>(); |
| | | |
| | | LinkedHashSet<AttributeValue> values = new LinkedHashSet<AttributeValue>(); |