public interface DataCollectorWrite
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_COLLECTOR_WRITE |
Modifier and Type | Method and Description |
---|---|
void |
add(ActionEvent action)
Add a new action (injection) event
|
void |
add(AlarmEvent alarm)
Add a new alarm
|
void |
add(LifeCycleEvent event)
Add a new lifecycle event
|
void |
add(ProbeEvent measure)
Add a new probe (measure) event
|
void |
init(java.io.Serializable testId,
java.lang.String bladeId)
Initialize a test
|
void |
setFilter(DataCollectorFilter filter)
Sets a filter selecting generated events forwarded to Storage
|
void |
terminate()
End of a test
|
static final java.lang.String DATA_COLLECTOR_WRITE
void init(java.io.Serializable testId, java.lang.String bladeId)
testId
- test identifierbladeId
- scenario identifiervoid terminate()
void add(LifeCycleEvent event)
event
- new lifecycle eventvoid add(ActionEvent action)
action
- new measurevoid add(AlarmEvent alarm)
alarm
- new alarm eventvoid add(ProbeEvent measure)
measure
- void setFilter(DataCollectorFilter filter)
filter
- event filter; a null filter forwards all events to Storage