Package io.atomix.primitive
Class PrimitiveId
java.lang.Object
io.atomix.utils.AbstractIdentifier<Long>
io.atomix.primitive.PrimitiveId
- All Implemented Interfaces:
io.atomix.utils.Identifier<Long>
public class PrimitiveId extends io.atomix.utils.AbstractIdentifier<Long>
Snapshot identifier.
-
Constructor Summary
Constructors Constructor Description PrimitiveId(Long value) -
Method Summary
Modifier and Type Method Description static PrimitiveIdfrom(long id)Creates a snapshot ID from the given number.static PrimitiveIdfrom(String id)Creates a snapshot ID from the given string.