org.modeshape.jcr
Class JcrRepository.Metrics

java.lang.Object
  extended by org.modeshape.jcr.JcrRepository.Metrics
Enclosing class:
JcrRepository

public class JcrRepository.Metrics
extends Object

This component is used internally to expose the metrics of a repository, and should not be used outside of the ModeShape codebase, as it will almost certainly change or be replaced in upcoming releases.


Constructor Summary
JcrRepository.Metrics()
           
 
Method Summary
 int getActiveSessionCount()
          Get the number of currently-active sessions in this repository.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcrRepository.Metrics

public JcrRepository.Metrics()
Method Detail

getActiveSessionCount

public int getActiveSessionCount()
Get the number of currently-active sessions in this repository.

Returns:
the number of current, active sessions; always non-negative.


Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.