org.ow2.clif.probe.cpu
Class Insert

java.lang.Object
  extended by org.ow2.clif.probe.util.AbstractDumbInsert
      extended by org.ow2.clif.probe.cpu.Insert
All Implemented Interfaces:
java.lang.Runnable, org.objectweb.fractal.api.control.BindingController, org.objectweb.fractal.api.control.LifeCycleController, ActivityControl, BladeControl

public class Insert
extends AbstractDumbInsert

insert for CPU probe

Author:
Bruno Dillenseger, Emmanuel Varoquaux

Field Summary
 
Fields inherited from class org.ow2.clif.probe.util.AbstractDumbInsert
activity_lock, arg_duration_ms, arg_period_ms, arg_probe_config, 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
 
Fields inherited from interface org.objectweb.fractal.api.control.LifeCycleController
STARTED, STOPPED
 
Constructor Summary
Insert()
           
 
Method Summary
protected  void configProbewithArray()
          Override this method when you are willing to pass some parameters to the Insert.
 ProbeEvent doProbe()
          Override this method to perform your measure and return it
 
Methods inherited from class org.ow2.clif.probe.util.AbstractDumbInsert
bindFc, changeParameter, close, getCurrentParameters, getFcState, getId, init, join, listFc, lookupFc, resume, run, setArgument, setId, start, startFc, stop, stopFc, suspend, unbindFc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Insert

public Insert()
       throws ClifException
Throws:
ClifException
Method Detail

configProbewithArray

protected void configProbewithArray()
                             throws ClifException
Description copied from class: AbstractDumbInsert
Override this method when you are willing to pass some parameters to the Insert. Parameters may be an xml config file, the specification of a disk name or a network interface. The parameters have to be entered on the BladeArgument section of the clif gui after the arg_period_ms and arg_duration_ms parameters.

Overrides:
configProbewithArray in class AbstractDumbInsert
Throws:
ClifException

doProbe

public ProbeEvent doProbe()
Description copied from class: AbstractDumbInsert
Override this method to perform your measure and return it

Specified by:
doProbe in class AbstractDumbInsert
Returns:
an probe event holding the measure