LogPosition class
A class referring to a potential logical record position in the Event Store transaction file.
Constructors
- LogPosition.checked(Int64 commitPosition, Int64 preparePosition)
-
Constructs a position with the given commit and prepare positions.
It is not guaranteed that the position is actually the start of a
record in the transaction file.
factory
Properties
- commitPosition → Int64
-
The commit position of the record
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- preparePosition → Int64
-
The prepare position of the record.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compareTo(
LogPosition other) → int - Compare this to other LogPosition
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator <(
LogPosition p2) → bool - Compares whether this < p2.
-
operator <=(
LogPosition p2) → bool - Compares whether this <= p2.
-
operator ==(
Object other) → bool -
The equality operator.
override
-
operator >(
LogPosition p2) → bool - Compares whether this > p2.
-
operator >=(
LogPosition p2) → bool - Compares whether this >= p2.
Static Properties
- end → LogPosition
-
Position representing the end of the transaction file
final
- start → LogPosition
-
Position representing the start of the transaction file
final