| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.management.runtime.beacon
|
Class ProcessStatusBeacon
|
|
+--com.newstep.solid.management.runtime.beacon.ProcessStatusBeacon
public class ProcessStatusBeacon
class that extend SyncManagedExecutable and provide services to acknowledge
Task Manager that the component is up and running.
Author:
rcavero
Links:
Kernel Association Association Link
Implementation of TimerTask
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Kernel Association Association Link
Beacon Configuration bean containing period, delay, processMonitorType and processMonitorConfiguration
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Kernel Association Association Link
processMonitor to be executed by BeaconTimerTask
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Generalization Generalization Link
class that extend SyncManagedExecutable and provide services to acknowledge
Task Manager that the component is up and running.
Author:
rcavero
| Field Summary |
|
|
|
|
private static String |
|
private static Logger |
|
|
|
private Timer |
|
| Method Summary |
|
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
Beacon Configuration bean containing period, delay, processMonitorType and processMonitorConfiguration
Multiplicity:
1
Implementation of TimerTask
Multiplicity:
1
private static String className
Multiplicity:
1
Static.
private static Logger logger
logging members
Multiplicity:
1
Static.
processMonitor to be executed by BeaconTimerTask
Multiplicity:
1
private Timer timer
Timer to Schedule the TimerTaks.
Multiplicity:
1
private ProcessMonitor createProcessMonitor (String processMonitorType)
Creates a ProcessMonitor object to be run by TimerTask.
Parameters:
processMonitorType the type of the process monitor to be created.
Right now this is a fully qualify name of the ProcessMonitor
implementation class. This class will be created by reflection.
Only JNI is supported. The default it's DUMMY: DO Nothing.
Exceptions:
BeaconException -ProcessMonitor can not be created.
Return:
ProcessMonitor -the process to be executed by TimerTask.
Throws:
BeaconException
public void doShutdown ()
If ProcessStatusBeacon want to shutdown(), doStop will be call.
Exceptions:
ExecutableException if can not be stoped.
Throws:
ExecutableException
public void doStart ()
Implementation of Start method from SyncManagedExecutable
This method will schedule the task frequency to be executed by
BeaconTimerTask.
Throws:
ExecutableException
public void doStop ()
Implementation of Stop method from SyncManagedExecutable
This method will wait until BeaconTimerTask finish it's last
scheduled task.
Exceptions:
BeaconException -ProcessMonitor can not be stoped.
Throws:
ExecutableException
Initialize ProcessStatusBeacon this method requires a
BeconConfiguration with the following parameters: period, delay,
beaconType, ProcessMonitorConfiguration.
Parameters:
beaconConfigIn - Beacon Configuration containing period, delay, processMonitorType and processMonitorConfiguration.
Throws:
BeaconException
public void kill ()
closes and cleans up without calling stop.
Throws:
ExecutableException
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|