| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.server.monitors; |
| | |
| | | */ |
| | | class TestMonitorProvider extends MonitorProvider<MonitorProviderCfg> |
| | | { |
| | | public TestMonitorProvider() |
| | | { |
| | | super("Test Monitor Thread"); |
| | | } |
| | | |
| | | public void initializeMonitorProvider(MonitorProviderCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | |
| | | return "Test monitor for dc=example,dc=com"; |
| | | } |
| | | |
| | | public long getUpdateInterval() |
| | | { |
| | | return 0; |
| | | } |
| | | |
| | | public void updateMonitorData() |
| | | { |
| | | // No implementation required. |
| | | } |
| | | |
| | | public List<Attribute> getMonitorData() |
| | | { |
| | | return Collections.emptyList(); |