etm.core.aggregation.persistence
Class PersistentRootAggregator
java.lang.Object
etm.core.aggregation.RootAggregator
etm.core.aggregation.persistence.PersistentRootAggregator
- All Implemented Interfaces:
- Aggregator
public class PersistentRootAggregator
- extends RootAggregator
An aggregator that supports persistence provided by a PersistenceBackend. By default the persistence
backend is FileSystemPersistenceBackend, however you may supply a
custom backends during initialization.
- Since:
- 1.2.0
- Version:
- $Revision:96 $
- Author:
- void.fm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected EtmMonitorContext context
persistenceBackend
protected PersistenceBackend persistenceBackend
backendProperties
protected java.util.Map backendProperties
PersistentRootAggregator
public PersistentRootAggregator()
init
public void init(EtmMonitorContext ctx)
- Description copied from interface:
Aggregator
- Lifecycle Method, will be called before
Aggregator.start(), after initalization of
the current EtmMonitor runtime. Be aware that Plugins are instantiated, but not
started at this point.
- Specified by:
init in interface Aggregator- Overrides:
init in class RootAggregator
- Parameters:
ctx - The current EtmMonitor Context.
start
public void start()
- Description copied from interface:
Aggregator
- Lifecycle method, will be called after all Aggregator instances are initialized
by calling
Aggregator.init(etm.core.monitor.EtmMonitorContext) and before the
EtmMonitor instance will becomes available.
- Specified by:
start in interface Aggregator- Overrides:
start in class RootAggregator
stop
public void stop()
- Description copied from interface:
Aggregator
- Lifecycle method, will be called after the EtmMonitor instance
was shutdown.
- Specified by:
stop in interface Aggregator- Overrides:
stop in class RootAggregator
setPersistenceBackend
public void setPersistenceBackend(PersistenceBackend aPersistenceBackend)
setBackendProperties
public void setBackendProperties(java.util.Map someProperties)
setPersistenceBackendClass
public void setPersistenceBackendClass(java.lang.Class aPersistenceBackendClazz)
getMetaData
public AggregatorMetaData getMetaData()
- Description copied from interface:
Aggregator
- Returns detailed information about the aggregator chain.
- Specified by:
getMetaData in interface Aggregator- Overrides:
getMetaData in class RootAggregator
- Returns:
- The AggregatorMetaData.
Copyright © 2004,2005, 2006, 2007 void.fm. All Rights Reserved.