Package org.ow2.clif.probe.rtp
Class Insert
- java.lang.Object
-
- org.ow2.clif.probe.util.AbstractDumbInsert
-
- org.ow2.clif.probe.rtp.Insert
-
- All Implemented Interfaces:
java.lang.Runnable,org.objectweb.fractal.api.control.BindingController,ActivityControl,BladeControl
public class Insert extends AbstractDumbInsert
Insert for RTP probe- Author:
- Rémi Druilhe
-
-
Field Summary
-
Fields inherited from class org.ow2.clif.probe.util.AbstractDumbInsert
activity_lock, arg_duration_ms, arg_period_ms, baseTime_ms, bir, dc_lock, dcw, eventStorageStatesMap, poller, probeId, sr_lock, started, stopped, storeAlarmEvents, storeLifeCycleEvents, storeProbeEvents, suspended, terminated
-
Fields inherited from interface org.ow2.clif.server.api.BladeControl
BLADE_CONTROL, BLADE_INSERT_CONTROL
-
-
Constructor Summary
Constructors Constructor Description Insert()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclose()Override this method when you are willing to release some resources when the probe ends its activity.ProbeEventdoProbe()Define this method to perform your measure and return itjava.lang.StringgetHelpMessage()Gives probe help.protected voidsetExtraArguments(java.util.List<java.lang.String> arg_probe_config)Override this method when you are willing to pass some extra parameters to the Insert, below the sampling period and duration standard arguments.-
Methods inherited from class org.ow2.clif.probe.util.AbstractDumbInsert
bindFc, changeParameter, getCurrentParameters, getId, init, join, listFc, lookupFc, resume, run, setArgument, setId, start, stop, suspend, unbindFc
-
-
-
-
Method Detail
-
setExtraArguments
protected void setExtraArguments(java.util.List<java.lang.String> arg_probe_config) throws ClifExceptionDescription copied from class:AbstractDumbInsertOverride this method when you are willing to pass some extra parameters to the Insert, below the sampling period and duration standard arguments.- Overrides:
setExtraArgumentsin classAbstractDumbInsert- Throws:
ClifException
-
doProbe
public ProbeEvent doProbe()
Description copied from class:AbstractDumbInsertDefine this method to perform your measure and return it- Specified by:
doProbein classAbstractDumbInsert- Returns:
- an probe event holding the measure
-
close
protected void close()
Description copied from class:AbstractDumbInsertOverride this method when you are willing to release some resources when the probe ends its activity.- Overrides:
closein classAbstractDumbInsert
-
getHelpMessage
public java.lang.String getHelpMessage()
Description copied from class:AbstractDumbInsertGives probe help. This basic implementation mentions the 2 first arguments: polling period and execution time. Override this method to extend the help message by adding extra arguments when necessary.- Overrides:
getHelpMessagein classAbstractDumbInsert- Returns:
- a message giving basic help to use this probe
-
-