org.modeshape.jcr
Class JcrRepository.Metrics
java.lang.Object
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.
|
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 |
JcrRepository.Metrics
public JcrRepository.Metrics()
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-2011 JBoss, a division of Red Hat. All Rights Reserved.