Package me.ahoo.cosid.segment
Class IdSegmentRollbackException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
me.ahoo.cosid.segment.IdSegmentRollbackException
- All Implemented Interfaces:
Serializable
The store handed out a segment max id below the last one plus the step: the range would overlap ids already issued.
An IllegalStateException, as the max id check always threw.
- Since:
- 3.4.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIdSegmentRollbackException(String namespacedName, long nextMaxId, long nextMinMaxId) IdSegmentRollbackException(String namespacedName, String message, Throwable cause) Raised for a rollback another party detected and described (e.g. -
Method Summary
Modifier and TypeMethodDescriptionlonglongMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IdSegmentRollbackException
-
IdSegmentRollbackException
Raised for a rollback another party detected and described (e.g. the proxy server); the max ids are unknown (-1).
-
-
Method Details
-
getNamespacedName
-
getNextMaxId
public long getNextMaxId() -
getNextMinMaxId
public long getNextMinMaxId()
-