org.apache.logging.log4j.core.util
Interface Clock

All Known Implementing Classes:
CachedClock, CoarseCachedClock, SystemClock

public interface Clock

Provides the time stamp used in log events.


Method Summary
 long currentTimeMillis()
          Returns the time in milliseconds since the epoch.
 

Method Detail

currentTimeMillis

long currentTimeMillis()
Returns the time in milliseconds since the epoch.

Returns:
the time in milliseconds since the epoch


Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.