Class ClockTooManyBackwardsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
me.ahoo.cosid.CosIdException
me.ahoo.cosid.snowflake.exception.ClockTooManyBackwardsException
- All Implemented Interfaces:
Serializable
Clock Too Many Backwards Exception.
- See Also:
-
Constructor Summary
ConstructorDescriptionClockTooManyBackwardsException
(long lastTimestamp, long currentTimestamp, long brokenThreshold) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClockTooManyBackwardsException
public ClockTooManyBackwardsException(long lastTimestamp, long currentTimestamp, long brokenThreshold)
-
-
Method Details
-
getLastTimestamp
public long getLastTimestamp() -
getCurrentTimestamp
public long getCurrentTimestamp() -
getBrokenThreshold
public long getBrokenThreshold()
-