| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.management.runtime.beacon
|
Class BeaconConfiguration
|
public class BeaconConfiguration
Provides Configuration for ProcessStatusBeacon.
Author:
rcavero
NOTE: the BeaconConfiguration has default values of
period: 5000 = 5 sec. But this value needs to be set-up to 3/4 of what TimerTask reads from Share Memory.
delay: 0
processMonitorType: "com.newstep.solid.management.runtime.beacon.DummyProcessMonitor";
Links:
Kernel Association Association Link
processMonitorConfiguration: Configuration object for ProcessMonitor.
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
| Field Summary |
|
|
String |
|
long |
|
long |
|
private long |
|
private long |
|
|
|
private String |
|
| Constructor Summary |
public void |
|
| Method Summary |
public long |
|
public long |
|
|
|
public String |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
long delay
delay: if necessary a delay before acknowledge.
private long delay
delay: if necessary a delay before acknowledge.
Multiplicity:
1
long period
period: interval time that Beacon will acknowledge the Task Manger
that it's alive.
private long period
period: interval time that Beacon will acknowledge the Task Manger
that it's alive.
Multiplicity:
1
processMonitorConfiguration
processMonitorConfiguration: Configuration object for ProcessMonitor.
processMonitorConfiguration
processMonitorConfiguration: Configuration object for ProcessMonitor.
Multiplicity:
1
private String processMonitorType
Type of object to be instantiated from ProcessMonitor.
Fully qualify name of the Process Monitor class to be instanteated.
JNI: will use ProcMonitor in C++.
DUMMY: will use a fake one just to run .
Multiplicity:
1
String processMonitorType
Type of object to be instantiated from ProcessMonitor.
Fully qualify name of the Process Monitor class to be instanteated.
JNI: will use ProcMonitor in C++.
DUMMY: will use a fake one just to run .
public void BeaconConfiguration ()
Use BeaconConfiguration with default values
Stereotype:
create
public long getDelay ()
Get delay time.
Return:
delay time to delay before acknowledge Task Manger.
public long getPeriod ()
get period (interval)
Return:
period interval time that Beacon will acknowledge
Task Manger that it's alive.
getProcessMonitorConfiguration
get the ProcessMonitorConfiguration object.
Return:
processMonitorConfiguration
public String getProcessMonitorType ()
get the type of object to be instantiated from ProcessMonitor.
Return:
processMonitorType - Fully qualify name of the Process Monitor class to be instanteated.
public void setDelay (String delay)
setDelay time.
Parameters:
delay time to delay before acknowledge Task Manger.
Throws:
ConfigurationException
public void setDelay (Long delay)
Set delay time.
Parameters:
delay time to delay before acknowledge the Task Manger.
public void setPeriod (String period)
Set Period time from a String time.
Parameters:
period interval time that Beacon will acknowledge the
Task Manger that it's alive.
Throws:
ConfigurationException
public void setPeriod (Long period)
get period (interval)
setProcessMonitorConfiguration
set the ProcessMonitorConfiguration object.
Parameters:
processMonitorConfiguration
public void setProcessMonitorType (String processMonitorType)
set the type of object to be instantiated from ProcessMonitor.
Parameters:
processMonitorType Fully qualify name of the Process Monitor class to be instanteated.
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|