You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Malzer Ferdinand OSP sIT <Fe...@s-itsolutions.at> on 2012/12/13 12:32:49 UTC
how to use RepositoryStatistics
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