Package | Description |
---|---|
com.streambase.sb.unittest |
Provides classes and interfaces used to author StreamBase Unit tests.
|
Modifier and Type | Method and Description |
---|---|
static TimeService |
TimeServiceFactory.getControllableTimeService()
Return
ControllableTimeService instance initialized with the current system time |
static TimeService |
TimeServiceFactory.getControllableTimeService(long initTargetTimeMsec)
Return
ControllableTimeService instance initialized with the time specified in initTargetTimeMsec |
TimeService |
SBServerManager.getTimeService()
Return the current TimeService implementation used by StreamBase server
Thread safety note: you can call this method from any thread but you should make sure that it is not called from more than
one thread at the same time and while this method is called no other thread calls
setTimeService method. |
static TimeService |
TimeServiceFactory.getWallClockTimeService()
Return
WallClockTimeService instance. |
Modifier and Type | Method and Description |
---|---|
void |
SBServerManager.setTimeService(TimeService timeService)
Set a TimeService for the StreamBase Server managed by this Manager.
|