Search Results for

    Show / Hide Table of Contents

    Class Offset

    Used in IEventsByTagQuery implementations to signal to Akka.Persistence.Query where to begin and end event by tag queries.

    For concrete implementations, see Sequence(long) and NoOffset().

    Inheritance
    object
    Offset
    NoOffset
    Sequence
    TimeBasedUuid
    Implements
    IComparable<Offset>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Persistence.Query
    Assembly: Akka.Persistence.Query.dll
    Syntax
    public abstract class Offset : IComparable<Offset>

    Methods

    | Edit this page View Source

    CompareTo(Offset)

    Used to compare to other Offset implementations.

    Declaration
    public abstract int CompareTo(Offset other)
    Parameters
    Type Name Description
    Offset other

    The other offset to compare.

    Returns
    Type Description
    int
    | Edit this page View Source

    NoOffset()

    Used when retrieving all events.

    Declaration
    public static Offset NoOffset()
    Returns
    Type Description
    Offset
    | Edit this page View Source

    Sequence(long)

    Factory to create an offset of type Sequence

    Declaration
    public static Offset Sequence(long value)
    Parameters
    Type Name Description
    long value
    Returns
    Type Description
    Offset
    | Edit this page View Source

    TimeBasedUuid(Guid)

    Factory to create an offset of type TimeBasedUuid(Guid)

    Declaration
    public static Offset TimeBasedUuid(Guid value)
    Parameters
    Type Name Description
    Guid value
    Returns
    Type Description
    Offset
    | Edit this page View Source

    ToString()

    Used to log offset's value

    Declaration
    public override abstract string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    IComparable<T>

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET