| | |
| | | */ |
| | | public void initializeMonitorProvider(ConfigEntry configEntry) |
| | | { |
| | | |
| | | monitorName = connectionHandler.getConnectionHandlerName(); |
| | | |
| | | connectionsType = |
| | |
| | | */ |
| | | public String getMonitorInstanceName() |
| | | { |
| | | |
| | | return monitorName; |
| | | } |
| | | |
| | |
| | | */ |
| | | public ObjectClass getMonitorObjectClass() |
| | | { |
| | | |
| | | return DirectoryConfig.getObjectClass(OC_MONITOR_CONNHANDLER, 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>(); |
| | | |
| | | int numConnections = 0; |