Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.net.spi
Class TransientConnectionMonitor

java.lang.Object
  extended by com.jivesoftware.forum.net.spi.BasicTransientMonitor
      extended by com.jivesoftware.forum.net.spi.TransientConnectionMonitor
All Implemented Interfaces:
ConnectionMonitor, Monitor

public class TransientConnectionMonitor
extends BasicTransientMonitor
implements ConnectionMonitor

Transient (in-memory) implementation of a connection monitor.


Constructor Summary
TransientConnectionMonitor()
           
 
Method Summary
 void addSample(Connection conn)
          Logs the actual sample to the underlying monitor.
 
Methods inherited from class com.jivesoftware.forum.net.spi.BasicTransientMonitor
addSample, addSample, getFirstSampleDate, getFrameRate, getFrameSize, getFrameTotal, getFrameTotalTime, getLastSampleDate, getRate, getTotal, getTotalTime, setFrameSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jivesoftware.forum.net.Monitor
addSample, addSample, getFirstSampleDate, getFrameRate, getFrameSize, getFrameTotal, getFrameTotalTime, getLastSampleDate, getRate, getTotal, getTotalTime, setFrameSize
 

Constructor Detail

TransientConnectionMonitor

public TransientConnectionMonitor()
Method Detail

addSample

public void addSample(Connection conn)
Logs the actual sample to the underlying monitor.

Specified by:
addSample in interface ConnectionMonitor
Parameters:
conn - the connection to sample.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.