org.inspektr.statistics.support
Class InMemoryStatisticManager
java.lang.Object
org.inspektr.statistics.support.AbstractThreadExecutorBasedStatisticManager
org.inspektr.statistics.support.InMemoryStatisticManager
- All Implemented Interfaces:
- StatisticManager, org.springframework.beans.factory.DisposableBean
public final class InMemoryStatisticManager
- extends AbstractThreadExecutorBasedStatisticManager
Example StatisticsManager that stores everything in memory.
Note that if this is running long enough, you could run out of memory, as it has no upper bound on the amount of statistics it stores.
- Since:
- 1.0
- Version:
- $Revision$ $Date$
- Author:
- Scott Battaglia
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryStatisticManager
public InMemoryStatisticManager()
newTask
protected Runnable newTask(StatisticActionContext statisticActionContext)
- Specified by:
newTask
in class AbstractThreadExecutorBasedStatisticManager
Copyright © 2007-2012. All Rights Reserved.