Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.net
Interface ConnectionMonitor

All Superinterfaces:
Monitor
All Known Implementing Classes:
TransientConnectionMonitor

public interface ConnectionMonitor
extends Monitor

ConnectionMonitors record the activity of Connections for administration and use in determining runtime behavior.

Samples are the number of connection events and the rate is measured in connection events per second.


Method Summary
 void addSample(Connection conn)
          Adds a connection sample to the monitor as soon as the connection is accepted.
 
Methods inherited from interface com.jivesoftware.forum.net.Monitor
addSample, addSample, getFirstSampleDate, getFrameRate, getFrameSize, getFrameTotal, getFrameTotalTime, getLastSampleDate, getRate, getTotal, getTotalTime, setFrameSize
 

Method Detail

addSample

void addSample(Connection conn)

Adds a connection sample to the monitor as soon as the connection is accepted.

Parameters:
conn - the connection made.

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.