Package org.ow2.clif.probe.disk
Class Insert
- java.lang.Object
-
- org.ow2.clif.probe.util.AbstractDumbInsert
-
- org.ow2.clif.probe.disk.Insert
-
- All Implemented Interfaces:
java.lang.Runnable,org.objectweb.fractal.api.control.BindingController,ActivityControl,BladeControl
public class Insert extends AbstractDumbInsert
Insert for disk probe based on SIGAR- Author:
- Bruno Dillenseger
-
-
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 Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ProbeEventdoProbe()Define this method to perform your measure and return itjava.lang.StringgetHelpMessage()Gives probe help.static voidmain(java.lang.String[] args)protected voidsetExtraArguments(java.util.List<java.lang.String> args)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, close, getCurrentParameters, getId, init, join, listFc, lookupFc, resume, run, setArgument, setId, start, stop, suspend, unbindFc
-
-
-
-
Constructor Detail
-
Insert
public Insert() throws ClifException- Throws:
ClifException
-
-
Method Detail
-
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
-
setExtraArguments
protected void setExtraArguments(java.util.List<java.lang.String> args) 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
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
-