|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.id.uuid.clock.SystemClockImpl
public final class SystemClockImpl
SystemClockImpl
provides a timing mechanism for returning the
current time in 100-nano second intervals since 00:00:00.00, 15 October 1582.
Clock
Field Summary |
---|
Fields inherited from interface org.apache.commons.id.uuid.clock.Clock |
---|
DEFAULT_CLOCK_IMPL, GREGORIAN_CHANGE_OFFSET, INTERVALS_PER_MILLI |
Constructor Summary | |
---|---|
SystemClockImpl()
Public constructor. |
Method Summary | |
---|---|
long |
getUUIDTime()
Returns the current time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemClockImpl()
Public constructor.
Method Detail |
---|
public long getUUIDTime() throws OverClockedException
Clock
Returns the current time.
getUUIDTime
in interface Clock
OverClockedException
- an Exception raised if the number of calls
in a system time interval exceeds the number of 100-nanosecond intervals
allowed.Clock.getUUIDTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |