public class VirtualClockService
extends jade.core.BaseService
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
VirtualClockService.UserModeClockTask
The Class UserModeClockTask.
|
class |
VirtualClockService.VirtualClockHelperImp
The Class VirtualClockHelperImp.
|
| Modifier and Type | Field and Description |
|---|---|
private static java.util.concurrent.locks.Lock |
lock
The lock.
|
static java.lang.String |
NAME
The Constant NAME.
|
private long |
referenceNanoStartTime
The reference nano start time.
|
private long |
referenceStartTime
The reference start time.
|
private static java.util.HashMap<java.lang.Long,VirtualClockService.UserModeClockTask> |
scheduledTasks
The scheduled tasks.
|
private static java.util.concurrent.ScheduledThreadPoolExecutor |
scheduler
The scheduler.
|
private boolean |
userClockMode
The user clock mode.
|
private static long |
userTime
The user time.
|
| Constructor and Description |
|---|
VirtualClockService() |
| Modifier and Type | Method and Description |
|---|---|
void |
boot(jade.core.Profile p) |
VirtualClockHelper |
getHelper(jade.core.Agent a) |
java.lang.String |
getName() |
addAlias, clearCachedSlice, createInvokator, dump, getAllSlices, getAMSBehaviour, getCommandFilter, getCommandSink, getFreshSlice, getHorizontalInterface, getIMTPManager, getLocalNode, getLocalSlice, getNumberOfSlices, getOwnedCommands, getSlice, init, isLocal, lookupAlias, shutdown, stringifySlice, submitpublic static final java.lang.String NAME
private boolean userClockMode
private static long userTime
private static java.util.concurrent.locks.Lock lock
private static java.util.HashMap<java.lang.Long,VirtualClockService.UserModeClockTask> scheduledTasks
private long referenceStartTime
private long referenceNanoStartTime
private static java.util.concurrent.ScheduledThreadPoolExecutor scheduler
public java.lang.String getName()
public void boot(jade.core.Profile p)
throws jade.core.ServiceException
boot in interface jade.core.Serviceboot in class jade.core.BaseServicejade.core.ServiceExceptionpublic VirtualClockHelper getHelper(jade.core.Agent a)
getHelper in interface jade.core.ServicegetHelper in class jade.core.BaseService