org.ow2.jonas.lib.ejb21
Class EntityCounters

java.lang.Object
  extended by org.ow2.jonas.lib.ejb21.EntityCounters

public class EntityCounters
extends 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 pk
          nb of pks
 int removed
          nb of instances marked removed
 
Constructor Summary
EntityCounters()
           
 
Method Summary
 int getMemoryInstanceNb()
           
 
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


pk

public int pk
nb of pks

Constructor Detail

EntityCounters

public EntityCounters()
Method Detail

getMemoryInstanceNb

public int getMemoryInstanceNb()


Copyright © 2010 OW2 Consortium. All Rights Reserved.