Version 4.10.0

hirondelle.web4j.util
Class TimeSourceImpl

Object
  extended by hirondelle.web4j.util.TimeSourceImpl
All Implemented Interfaces:
TimeSource

public final class TimeSourceImpl
extends Object
implements TimeSource

Default implementation of TimeSource.

Simply returns the normal system time, without alteration. If you don't define your own TimeSource, then this default implementation will automatically be used by WEB4J.


Constructor Summary
TimeSourceImpl()
           
 
Method Summary
 long currentTimeMillis()
          Return System.currentTimeMillis(), with no alteration.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeSourceImpl

public TimeSourceImpl()
Method Detail

currentTimeMillis

public long currentTimeMillis()
Return System.currentTimeMillis(), with no alteration.

Specified by:
currentTimeMillis in interface TimeSource

Version 4.10.0

Copyright Hirondelle Systems. Published October 19, 2013 - User Guide - All Docs.