org.cougaar.core.node.service
Interface NaturalTimeService

All Superinterfaces:
org.cougaar.core.component.Service, TimeServiceBase

public interface NaturalTimeService
extends TimeServiceBase, org.cougaar.core.component.Service

This service manages the node-level execution ("scenario") alarm timer, which is wrapped by the agent's AlarmService.


Field Summary
static long DEFAULT_CHANGE_DELAY
           
 
Method Summary
 ExecutionTimer.Parameters[] createParameters(ExecutionTimer.Change[] changes)
           
 ExecutionTimer.Parameters createParameters(long millis, boolean millisIsAbsolute, double newRate, boolean forceRunning, long changeDelay)
          Deprecated. Use the version that allows specifying absolute change time instead
 ExecutionTimer.Parameters createParameters(long millis, boolean millisIsAbsolute, double newRate, boolean forceRunning, long changeTime, boolean changeIsAbsolute)
           
 double getRate()
           
 void setParameters(ExecutionTimer.Parameters x)
           
 
Methods inherited from interface org.cougaar.core.node.service.TimeServiceBase
addAlarm, cancelAlarm, currentTimeMillis
 

Field Detail

DEFAULT_CHANGE_DELAY

static final long DEFAULT_CHANGE_DELAY
See Also:
Constant Field Values
Method Detail

setParameters

void setParameters(ExecutionTimer.Parameters x)

createParameters

ExecutionTimer.Parameters createParameters(long millis,
                                           boolean millisIsAbsolute,
                                           double newRate,
                                           boolean forceRunning,
                                           long changeDelay)
Deprecated. Use the version that allows specifying absolute change time instead


createParameters

ExecutionTimer.Parameters createParameters(long millis,
                                           boolean millisIsAbsolute,
                                           double newRate,
                                           boolean forceRunning,
                                           long changeTime,
                                           boolean changeIsAbsolute)

createParameters

ExecutionTimer.Parameters[] createParameters(ExecutionTimer.Change[] changes)

getRate

double getRate()