info.magnolia.stats
Class JCRStats

java.lang.Object
  extended by info.magnolia.stats.JCRStats
All Implemented Interfaces:
JCRStatsMBean

public class JCRStats
extends Object
implements JCRStatsMBean

Collects and provides information about number of JCR sessions used by this instance of Magnolia.


Constructor Summary
JCRStats()
           
 
Method Summary
 void decSessionCount()
           
static JCRStats getInstance()
           
 int getSessionCount()
           
 void incSessionCount()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCRStats

public JCRStats()
Method Detail

getSessionCount

public int getSessionCount()
Specified by:
getSessionCount in interface JCRStatsMBean

incSessionCount

public void incSessionCount()

decSessionCount

public void decSessionCount()

getInstance

public static JCRStats getInstance()
Returns:
the instance


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.