Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: 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
to Class ProcessMonitorConfiguration
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
setDelay(String delay)
public void
setDelay(Long delay)
public void
setPeriod(String period)
public void
setPeriod(Long period)
public void
public void
setProcessMonitorType(String processMonitorType)
Field Detail
delay
long delay
delay: if necessary a delay before acknowledge.
 

delay
private long delay
delay: if necessary a delay before acknowledge.
Multiplicity:
1
 

period
long period
period: interval time that Beacon will acknowledge the Task Manger
that it's alive.
 

period
private long period
period: interval time that Beacon will acknowledge the Task Manger
that it's alive.
Multiplicity:
1
 

processMonitorConfiguration
ProcessMonitorConfiguration processMonitorConfiguration
processMonitorConfiguration: Configuration object for ProcessMonitor.
 

processMonitorConfiguration
private ProcessMonitorConfiguration processMonitorConfiguration
processMonitorConfiguration: Configuration object for ProcessMonitor.
Multiplicity:
1
 

processMonitorType
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
 

processMonitorType
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 .
 
Constructor Detail
BeaconConfiguration
public void BeaconConfiguration ()
 
Use BeaconConfiguration with default values
Stereotype:
create
 
Method Detail
getDelay
public long getDelay ()
 
Get delay time.
Return:
delay time to delay before acknowledge Task Manger.
 

getPeriod
public long getPeriod ()
 
get period (interval)
Return:
period interval time that Beacon will acknowledge
Task Manger that it's alive.
 

getProcessMonitorConfiguration
public ProcessMonitorConfiguration getProcessMonitorConfiguration ()
 
get the ProcessMonitorConfiguration object.
Return:
processMonitorConfiguration
 

getProcessMonitorType
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.
 

setDelay
public void setDelay (String delay)
 
setDelay time.
Parameters:
delay time to delay before acknowledge Task Manger.
Throws:
ConfigurationException
 

setDelay
public void setDelay (Long delay)
 
Set delay time.
Parameters:
delay time to delay before acknowledge the Task Manger.
 

setPeriod
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
 

setPeriod
public void setPeriod (Long period)
 
get period (interval)
 

setProcessMonitorConfiguration
public void setProcessMonitorConfiguration (ProcessMonitorConfiguration processMonitorConfiguration)
 
set the ProcessMonitorConfiguration object.
Parameters:
processMonitorConfiguration
 

setProcessMonitorType
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.
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD