org.mentalog.timestamper
Interface Timestamper

All Known Implementing Classes:
MillisTimestamper

public interface Timestamper

A timestamper interface with support for MILLIS, NANOS and MICROS precision. The default timestamper of MentaLog uses System.currentTimeMillis, but you could implement a better one with native support and/or better precision. Refer to: http://mentalog.soliveirajr.com for documentations, recipes and more.

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

Nested Class Summary
static class Timestamper.Precision
           
 
Field Summary
static Timestamper MILLIS
           
 
Method Summary
 Timestamper.Precision getPrecision()
           
 long getTimestamp()
           
 

Field Detail

MILLIS

static final Timestamper MILLIS
Method Detail

getPrecision

Timestamper.Precision getPrecision()

getTimestamp

long getTimestamp()


Copyright © 2013. All Rights Reserved.