|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.clif.datacollector.lib.AbstractDataCollector
public abstract class AbstractDataCollector
Abstract implementation of a Data Collector component.
Field Summary | |
---|---|
protected StorageWrite |
sws
|
Fields inherited from interface org.ow2.clif.datacollector.api.DataCollectorWrite |
---|
DATA_COLLECTOR_WRITE |
Fields inherited from interface org.ow2.clif.datacollector.api.DataCollectorAdmin |
---|
DATA_COLLECTOR_ADMIN |
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController |
---|
STARTED, STOPPED |
Constructor Summary | |
---|---|
AbstractDataCollector()
|
Method Summary | |
---|---|
void |
add(ActionEvent action)
Add a new measure - simply transmit it to the Storage Proxy component unless it is rejected by current DataCollectorFilter. |
void |
add(AlarmEvent alarm)
Add a new alarm - simply transmit it to the Storage Proxy component unless it is rejected by current DataCollectorFilter. |
void |
add(LifeCycleEvent event)
Add a new lifecycle event - simply forwards it to the Storage Proxy component unless it is rejected by current DataCollectorFilter. |
void |
add(ProbeEvent measure)
Add a new measure - simply transmit it to the Storage Proxy component unless it is null or it is rejected by current DataCollectorFilter. |
void |
bindFc(java.lang.String clientItfName,
java.lang.Object serverItf)
|
java.lang.String |
getFcState()
|
void |
init(java.io.Serializable testId,
java.lang.String bladeId)
Initialize a test |
java.lang.String[] |
listFc()
|
java.lang.Object |
lookupFc(java.lang.String clientItfName)
|
void |
setFilter(DataCollectorFilter filter)
Sets a filter selecting generated events forwarded to Storage |
void |
startFc()
|
void |
stopFc()
|
void |
terminate()
Does nothing. |
void |
unbindFc(java.lang.String clientItfName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ow2.clif.datacollector.api.DataCollectorAdmin |
---|
getLabels, getStat |
Field Detail |
---|
protected StorageWrite sws
Constructor Detail |
---|
public AbstractDataCollector()
Method Detail |
---|
public void startFc()
startFc
in interface org.objectweb.fractal.api.control.LifeCycleController
public void stopFc()
stopFc
in interface org.objectweb.fractal.api.control.LifeCycleController
public java.lang.String getFcState()
getFcState
in interface org.objectweb.fractal.api.control.LifeCycleController
public java.lang.Object lookupFc(java.lang.String clientItfName)
lookupFc
in interface org.objectweb.fractal.api.control.BindingController
public void bindFc(java.lang.String clientItfName, java.lang.Object serverItf)
bindFc
in interface org.objectweb.fractal.api.control.BindingController
public void unbindFc(java.lang.String clientItfName)
unbindFc
in interface org.objectweb.fractal.api.control.BindingController
public java.lang.String[] listFc()
listFc
in interface org.objectweb.fractal.api.control.BindingController
public void init(java.io.Serializable testId, java.lang.String bladeId)
DataCollectorWrite
init
in interface DataCollectorWrite
testId
- test identifierbladeId
- blade identifierpublic void terminate()
terminate
in interface DataCollectorWrite
public void add(LifeCycleEvent event)
add
in interface DataCollectorWrite
event
- new lifecycle eventpublic void add(ActionEvent action)
add
in interface DataCollectorWrite
action
- the new action eventpublic void add(AlarmEvent alarm)
add
in interface DataCollectorWrite
alarm
- new alarm eventpublic void add(ProbeEvent measure)
add
in interface DataCollectorWrite
measure
- the new measurepublic void setFilter(DataCollectorFilter filter)
DataCollectorWrite
setFilter
in interface DataCollectorWrite
filter
- event filter; a null filter forwards all events to Storage
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |