org.ow2.clif.probe.rtp
Class Insert

java.lang.Object
  extended by org.ow2.clif.probe.util.AbstractDumbInsert
      extended by org.ow2.clif.probe.rtp.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 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, 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 close()
          Override this method when you are willing to release some resources when the probe ends its activity.
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, 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()
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

close

protected void close()
Description copied from class: AbstractDumbInsert
Override this method when you are willing to release some resources when the probe ends its activity.

Overrides:
close in class AbstractDumbInsert