com.jalios.jcms.stat.listener
Class StatRequestListener
java.lang.Object
com.jalios.jcms.stat.listener.AbstractStatListener
com.jalios.jcms.stat.listener.AbstractStatFieldListener
com.jalios.jcms.stat.listener.StatRequestListener
- All Implemented Interfaces:
- StatListener
public class StatRequestListener
- extends AbstractStatFieldListener
- Since:
- jcms-5.0.0
- Version:
- $Revision: 27753 $
- Author:
- Jean-Philippe Encausse
Fields inherited from class com.jalios.jcms.stat.listener.AbstractStatListener |
ADMIN_AREA, ALL_AREA, channel, display, displayAverage, displayTimeChart, displayWeekChart, FEED_AREA, filteredZone, name, portlet, PUBLIC_AREA, regexpFilter, report, WORK_AREA |
Methods inherited from class com.jalios.jcms.stat.listener.AbstractStatFieldListener |
getBeautifier, getCurrentObjSet, getNanoDuration, getWorkspaceFieldMap, getWorkspaceFieldMap, getWorkspaceMap, handleEndOfStatEntries, handleStatEntry, processWorkspace, timeStart, timeStop, updateWorkspaceMap, updateWorkspaceMap, updateWorkspaceMap |
Methods inherited from class com.jalios.jcms.stat.listener.AbstractStatListener |
getDisplay, getName, getPortlet, getZone, handleStartDocument, init, isFiltered, setDisplay, setPortlet, setZone, toString |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
maxSamples
protected int maxSamples
requestSamples
protected int requestSamples
requestCount
protected long requestCount
averageRequestProcess
public long averageRequestProcess
StatRequestListener
public StatRequestListener(int maxSamples)
validateEntry
public boolean validateEntry(StatEntry entry)
- Description copied from class:
AbstractStatFieldListener
- Validate the Stat Entry and get the correct parameter to process later.
- Overrides:
validateEntry
in class AbstractStatFieldListener
- Returns:
- true if the Entry shoud be processed.
- Since:
- jcms-5.0.0
- See Also:
AbstractStatFieldListener.validateEntry(StatEntry)
handleEndOfStatEntries
public void handleEndOfStatEntries(Map workspaceMap)
- Description copied from class:
AbstractStatFieldListener
- Call EndOfStatEntries with given WorkspaceMap
- Specified by:
handleEndOfStatEntries
in class AbstractStatFieldListener
- Since:
- jcms-5.0.0
- See Also:
AbstractStatFieldListener.handleEndOfStatEntries(Map)
processEntry
public void processEntry(StatEntry entry,
Object workspace,
Map workspaceMap)
- Description copied from class:
AbstractStatFieldListener
- Process an object and store it to the workspace map
- Specified by:
processEntry
in class AbstractStatFieldListener
- Since:
- jcms-5.0.0
Copyright © 2001-2010 Jalios SA. All Rights Reserved.