Interface SessionClock

public interface SessionClock

A clock interface that all engine clocks must implement

Method Summary
 long getCurrentTime()
          Returns the current time.

Method Detail


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.

The current time. The unit of the time, depends on the actual clock implementation.

Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.