public class SessionCountFactory extends AbstractStatsFactory<SessionCountStats>
SessionCountStats factory.| Modifier and Type | Field and Description |
|---|---|
static AbstractStatsFactory<SessionCountStats> |
DEFAULT_INSTANCE
Default instance to spare additional object creation.
|
| Constructor and Description |
|---|
SessionCountFactory()
Createsa new factory with default intervals.
|
SessionCountFactory(Interval[] configuredIntervals)
Creates a new factory with custom intervals.
|
| Modifier and Type | Method and Description |
|---|---|
SessionCountStats |
createStatsObject(java.lang.String name)
Creates a new stats object with given name.
|
getIntervalspublic static final AbstractStatsFactory<SessionCountStats> DEFAULT_INSTANCE
public SessionCountFactory(Interval[] configuredIntervals)
configuredIntervals - Interval arraypublic SessionCountFactory()
public SessionCountStats createStatsObject(java.lang.String name)
IOnDemandStatsFactoryname - name of the stat object, may be a constant or method name.SCopyright © 2010-2020 anotheria.net. All Rights Reserved.