| | |
| | | */ |
| | | public class ReplicationMonitor extends MonitorProvider<MonitorProviderCfg> |
| | | { |
| | | private ReplicationDomain domain; |
| | | private final ReplicationDomain domain; |
| | | |
| | | /** |
| | | * Create a new replication monitor. |
| | | * @param domain the plugin which created the monitor |
| | | */ |
| | | public ReplicationMonitor(ReplicationDomain domain) |
| | | ReplicationMonitor(ReplicationDomain domain) |
| | | { |
| | | this.domain = domain; |
| | | } |
| | |
| | | * @param name the name of the attribute to add. |
| | | * @param value The integer value of he attribute to add. |
| | | */ |
| | | public static void addMonitorData(List<Attribute> attributes, String name, |
| | | private static void addMonitorData(List<Attribute> attributes, String name, |
| | | long value) |
| | | { |
| | | AttributeType type = DirectoryServer.getDefaultAttributeType(name); |
| | |
| | | * @param name the name of the attribute to add. |
| | | * @param value The String value of he attribute to add. |
| | | */ |
| | | public static void addMonitorData(List<Attribute> attributes, String name, |
| | | private static void addMonitorData(List<Attribute> attributes, String name, |
| | | String value) |
| | | { |
| | | AttributeType type = DirectoryServer.getDefaultAttributeType(name); |