|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.infrared.agent.transport.LocalCollectionStrategy
This CollectionStrategy impelementation is used in case the infrared web application is not a remote application. This merges the statistics object with the global statistics object
| Constructor Summary | |
LocalCollectionStrategy()
|
|
| Method Summary | |
boolean |
collect(Statistics stats)
Needs to hanle the collection of statistic objects. |
boolean |
destroy()
Destroy the strategy, bring the flush policy etc down. |
boolean |
init(MonitorConfig configuration)
Initialize the collection strategy, this methods need to be overridden to create the aggregator, forwarder & the flush policy and tie them together |
void |
resume()
Resume statistics collection |
void |
suspend()
Suspend statistics collection |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LocalCollectionStrategy()
| Method Detail |
public boolean init(MonitorConfig configuration)
CollectionStrategy
init in interface CollectionStrategypublic boolean collect(Statistics stats)
CollectionStrategy
collect in interface CollectionStrategystats - - statistics object that needs to be
public void suspend()
CollectionStrategy
suspend in interface CollectionStrategypublic void resume()
CollectionStrategy
resume in interface CollectionStrategypublic boolean destroy()
CollectionStrategy
destroy in interface CollectionStrategy
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||