jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Malzer Ferdinand OSP sIT <Ferdinand.Mal...@s-itsolutions.at>
Subject how to use RepositoryStatistics
Date Thu, 13 Dec 2012 11:32:49 GMT
Hello,
I try to use RepositoryStatistics But I have no Idea how I could get an RepositoryContext
object.

  RepositoryContext context = ????
  RepositoryStatistics repositoryStatistics = context.getRepositoryStatistics();
  TimeSeries loginCounter = repositoryStatistics.getTimeSeries(Type.SESSION_LOGIN_COUNTER);
  System.out.println(Arrays.toString(loginCounter.getValuePerSecond()));

does anyone have an idea?
best regards.
ferry malzer

Mime
View raw message