org.ow2.clif.probe.util
Class AbstractInsert

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

public abstract class AbstractInsert
extends AbstractDumbInsert

This abstract implementation of a blade insert component manages a single thread, doing a periodic task (probing) with a given period (in milliseconds) and during an given actual time. It provides a strict interpretation of the blade lifecycle with regard to the ActivityControl interface.

Author:
Bruno Dillenseger

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
AbstractInsert()
           
 
Method Summary
 void resume()
          Resume the activity (if suspended)
 void run()
           
 void start()
          Initial start of the activity
 void stop()
          Final stop of the activity
 void suspend()
          Suspend the activity
 
Methods inherited from class org.ow2.clif.probe.util.AbstractDumbInsert
bindFc, changeParameter, close, configProbewithArray, doProbe, getCurrentParameters, getFcState, getId, init, join, listFc, lookupFc, setArgument, setId, startFc, stopFc, unbindFc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractInsert

public AbstractInsert()
Method Detail

start

public void start()
Description copied from interface: ActivityControl
Initial start of the activity

Specified by:
start in interface ActivityControl
Overrides:
start in class AbstractDumbInsert

stop

public void stop()
Description copied from interface: ActivityControl
Final stop of the activity

Specified by:
stop in interface ActivityControl
Overrides:
stop in class AbstractDumbInsert

suspend

public void suspend()
Description copied from interface: ActivityControl
Suspend the activity

Specified by:
suspend in interface ActivityControl
Overrides:
suspend in class AbstractDumbInsert

resume

public void resume()
Description copied from interface: ActivityControl
Resume the activity (if suspended)

Specified by:
resume in interface ActivityControl
Overrides:
resume in class AbstractDumbInsert

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class AbstractDumbInsert