Package akka.persistence.query
Class TimestampOffsetBySlice
- java.lang.Object
-
- akka.persistence.query.Offset
-
- akka.persistence.query.TimestampOffsetBySlice
-
public final class TimestampOffsetBySlice extends Offset
Timestamp-based offset by slice.API May Change
param: offsets Map of TimestampOffset by slice
-
-
Constructor Summary
Constructors Constructor Description TimestampOffsetBySlice()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimestampOffsetBySlice
apply(scala.collection.immutable.Map<java.lang.Object,TimestampOffset> offsets)
static TimestampOffsetBySlice
create(java.util.Map<java.lang.Integer,TimestampOffset> offsets)
Java APIstatic TimestampOffsetBySlice
empty()
boolean
equals(java.lang.Object other)
java.util.Optional<TimestampOffset>
getOffset(int slice)
Java APIjava.util.Map<java.lang.Integer,TimestampOffset>
getOffsets()
Java APIint
hashCode()
scala.Option<TimestampOffset>
offset(int slice)
scala.collection.immutable.Map<java.lang.Object,TimestampOffset>
offsets()
java.lang.String
toString()
static scala.Option<scala.collection.immutable.Map<java.lang.Object,TimestampOffset>>
unapply(TimestampOffsetBySlice timestampOffsetBySlice)
-
Methods inherited from class akka.persistence.query.Offset
noOffset, sequence, timeBasedUUID, timestamp
-
-
-
-
Method Detail
-
empty
public static TimestampOffsetBySlice empty()
-
apply
public static TimestampOffsetBySlice apply(scala.collection.immutable.Map<java.lang.Object,TimestampOffset> offsets)
-
create
public static TimestampOffsetBySlice create(java.util.Map<java.lang.Integer,TimestampOffset> offsets)
Java API
-
unapply
public static scala.Option<scala.collection.immutable.Map<java.lang.Object,TimestampOffset>> unapply(TimestampOffsetBySlice timestampOffsetBySlice)
-
offsets
public scala.collection.immutable.Map<java.lang.Object,TimestampOffset> offsets()
-
getOffsets
public java.util.Map<java.lang.Integer,TimestampOffset> getOffsets()
Java API
-
offset
public scala.Option<TimestampOffset> offset(int slice)
-
getOffset
public java.util.Optional<TimestampOffset> getOffset(int slice)
Java API
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-