org.olat.core.util.event.businfo
Class BusListenerInfo

java.lang.Object
  extended by org.olat.core.util.event.businfo.BusListenerInfo
All Implemented Interfaces:
java.io.Serializable

public class BusListenerInfo
extends java.lang.Object
implements java.io.Serializable

Description:
a class which contains infos (one instance per cluster node) about the listener count for all olat resources currently being used.

Initial Date: 05.11.2007

Author:
Felix Jost, http://www.goodsolutions.ch
See Also:
Serialized Form

Constructor Summary
BusListenerInfo()
           
 
Method Summary
 void addEntry(java.lang.String derivedString, int cnt)
           
 java.util.Set<java.lang.String> getAllDerivedStrings()
           
 int getCountFor(OLATResourceable ores)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusListenerInfo

public BusListenerInfo()
Method Detail

getCountFor

public int getCountFor(OLATResourceable ores)
Parameters:
ores - the channel
Returns:
the current number of listeners of this channel

addEntry

public void addEntry(java.lang.String derivedString,
                     int cnt)

getAllDerivedStrings

public java.util.Set<java.lang.String> getAllDerivedStrings()