Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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