|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.infrared.agent.transport.CentralizedCollectionStrategy
The CollectionStrategy impelementation, creates the Aggregator, Forwarder & FlushPolicy appropriate for infraRED to send statistics collected to a stand-alone infrared web application.
| Constructor Summary | |
CentralizedCollectionStrategy()
|
|
| 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. |
Aggregator |
getAggregator()
|
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 CentralizedCollectionStrategy()
| 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 Aggregator getAggregator()
public boolean destroy()
CollectionStrategy
destroy in interface CollectionStrategy
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||