org.objectweb.jonas_ejb.container
Class EntityCounters

java.lang.Object
  |
  +--org.objectweb.jonas_ejb.container.EntityCounters

public class EntityCounters
extends java.lang.Object

This class is used by JMX to return a dump of instance's current use

Author:
Philippe Durieux

Field Summary
 int idle
          nb of instances not currently used, but active
 int inTx
          nb of instances currently used inside a tx
 int outTx
          nb of instances currently used outside a tx
 int passive
          nb of instances passivated
 int removed
          nb of instances marked removed
 
Constructor Summary
EntityCounters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inTx

public int inTx
nb of instances currently used inside a tx

outTx

public int outTx
nb of instances currently used outside a tx

idle

public int idle
nb of instances not currently used, but active

passive

public int passive
nb of instances passivated

removed

public int removed
nb of instances marked removed
Constructor Detail

EntityCounters

public EntityCounters()