| |
|
| org.apache.cocoon.profiling.statistics.CollectorImpl
CollectorImpl | public class CollectorImpl extends AbstractLogEnabled implements Collector,Store,ThreadSafe,Serviceable,Disposable,Contextualizable(Code) | | Implementation for the statistics component.
In order to prevent an out of memory exception we implement the Store
interface (dummy implementation) so we can register this component with
the StoreJanitor component which will invoke this component to free
memory in case of low memory.
version: $Id: CollectorImpl.java 485636 2006-12-11 12:20:15Z cziegeler $ since: 2.1.10 |
Field Summary | |
protected Context | context The component context. | protected boolean | isCollecting | protected StoreJanitor | janitor The store janitor for registering ourself. | protected ServiceManager | manager The service manager. | protected Map | pageReports All page reports. | protected Map | reports All reports. |
context | protected Context context(Code) | | The component context.
|
isCollecting | protected boolean isCollecting(Code) | | Are we currently collecting?
|
janitor | protected StoreJanitor janitor(Code) | | The store janitor for registering ourself.
|
manager | protected ServiceManager manager(Code) | | The service manager.
|
pageReports | protected Map pageReports(Code) | | All page reports.
|
reports | protected Map reports(Code) | | All reports.
|
containsKey | public boolean containsKey(Object arg0)(Code) | | See Also: org.apache.excalibur.store.Store.containsKey(java.lang.Object) |
contextualize | public void contextualize(Context c) throws ContextException(Code) | | See Also: org.apache.avalon.framework.context.Contextualizable.contextualize(org.apache.avalon.framework.context.Context) |
dispose | public void dispose()(Code) | | See Also: org.apache.avalon.framework.activity.Disposable.dispose |
free | public void free()(Code) | | See Also: org.apache.excalibur.store.Store.free |
get | public Object get(Object arg0)(Code) | | See Also: org.apache.excalibur.store.Store.get(java.lang.Object) |
remove | public void remove(Object arg0)(Code) | | See Also: org.apache.excalibur.store.Store.remove(java.lang.Object) |
service | public void service(ServiceManager aManager) throws ServiceException(Code) | | See Also: org.apache.avalon.framework.service.Serviceable.service(org.apache.avalon.framework.service.ServiceManager) |
size | public int size()(Code) | | See Also: org.apache.excalibur.store.Store.size |
store | public void store(Object arg0, Object arg1) throws IOException(Code) | | See Also: org.apache.excalibur.store.Store.store(java.lang.Objectjava.lang.Object) |
|
|
|