Package org.kie.api.time
Interface SessionClock
- 
- All Known Subinterfaces:
 SessionPseudoClock
public interface SessionClockA clock interface that all engine clocks must implement 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCurrentTime()Returns the current time. 
 - 
 
- 
- 
Method Detail
- 
getCurrentTime
long getCurrentTime()
Returns the current time. There is no semantics attached to the long return value, so it will depend on the actual implementation. For instance, for a real time clock it may be milliseconds.- Returns:
 - The current time. The unit of the time, depends on the actual clock implementation.
 
 
 - 
 
 -