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 PrimitiveId
from(long id)
Creates a snapshot ID from the given number.static PrimitiveId
from(String id)
Creates a snapshot ID from the given string.