| | |
| | | * |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014 ForgeRock AS |
| | | * Portions Copyright 2014-2015 ForgeRock AS |
| | | */ |
| | | package org.opends.server.monitors; |
| | | |
| | |
| | | |
| | | |
| | | |
| | | // The maximum backlog observed by polling the queue. |
| | | /** The maximum backlog observed by polling the queue. */ |
| | | private int maxBacklog; |
| | | |
| | | // The total number of times the backlog has been polled. |
| | | /** The total number of times the backlog has been polled. */ |
| | | private long numPolls; |
| | | |
| | | // The total backlog observed from periodic polling. |
| | | /** The total backlog observed from periodic polling. */ |
| | | private long totalBacklog; |
| | | |
| | | // The traditional work queue instance with which this monitor is associated. |
| | | /** The traditional work queue instance with which this monitor is associated. */ |
| | | private TraditionalWorkQueue workQueue; |
| | | |
| | | |
| | |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | public void initializeMonitorProvider(MonitorProviderCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | /** {@inheritDoc} */ |
| | | public void run() |
| | | { |
| | | int backlog = workQueue.size(); |