org.mentalog.timestamper
Class MillisTimestamper

java.lang.Object
  extended by org.mentalog.timestamper.MillisTimestamper
All Implemented Interfaces:
Timestamper

public class MillisTimestamper
extends Object
implements Timestamper

MentaLog's default timestamper implementation. It just calls System.currentTimeMillis() Refer to: http://mentalog.soliveirajr.com for documentations, recipes and more.

Author:
Sergio Oliveira Jr. - sergio.oliveira.jr@gmail.com

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.mentalog.timestamper.Timestamper
Timestamper.Precision
 
Field Summary
 
Fields inherited from interface org.mentalog.timestamper.Timestamper
MILLIS
 
Method Summary
 Timestamper.Precision getPrecision()
           
 long getTimestamp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPrecision

public Timestamper.Precision getPrecision()
Specified by:
getPrecision in interface Timestamper

getTimestamp

public long getTimestamp()
Specified by:
getTimestamp in interface Timestamper


Copyright © 2013. All Rights Reserved.