info.magnolia.stats
Class JCRStats

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

public class JCRStats
extends java.lang.Object
implements JCRStatsMBean

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

Version:
$Id: JCRStats.java 37744 2010-10-07 12:45:24Z pbaerfuss $
Author:
philipp

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-2010 Magnolia International Ltd.. All Rights Reserved.