Package akka.persistence.query
Class Offset
- java.lang.Object
-
- akka.persistence.query.Offset
-
- Direct Known Subclasses:
NoOffset$
,Sequence
,TimeBasedUUID
,TimestampOffset
public abstract class Offset extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Offset()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Offset
noOffset()
static Offset
sequence(long value)
static Offset
timeBasedUUID(java.util.UUID uuid)
static TimestampOffset
timestamp(java.time.Instant instant)
-
-
-
Method Detail
-
noOffset
public static Offset noOffset()
-
sequence
public static Offset sequence(long value)
-
timeBasedUUID
public static Offset timeBasedUUID(java.util.UUID uuid)
-
timestamp
public static TimestampOffset timestamp(java.time.Instant instant)
-
-