| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.monitors; |
| | | |
| | |
| | | public ConnectionHandlerMonitor( |
| | | ConnectionHandler<? extends ConnectionHandlerCfg> connectionHandler) |
| | | { |
| | | super(connectionHandler.getConnectionHandlerName()); |
| | | |
| | | this.connectionHandler = connectionHandler; |
| | | } |
| | | |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public long getUpdateInterval() |
| | | { |
| | | // We don't need do anything on a periodic basis. |
| | | return 0; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public void updateMonitorData() |
| | | { |
| | | // No implementaiton is required. |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public List<Attribute> getMonitorData() |
| | | { |
| | | LinkedList<Attribute> attrs = new LinkedList<Attribute>(); |