public class NanoTimeTimeProvider extends Object implements StatTimeProvider
Constructor and Description |
---|
NanoTimeTimeProvider() |
Modifier and Type | Method and Description |
---|---|
long |
formatTime(long timeDifference,
TimeUnit unit) |
long |
getCurrentTime() |
public long getCurrentTime()
getCurrentTime
in interface StatTimeProvider
public long formatTime(long timeDifference, TimeUnit unit)
formatTime
in interface StatTimeProvider
Copyright © 2015. All rights reserved.