LeaseState enum
The outcome states of FileSessionLeaseStore.inspect.
Values
- free → const LeaseState
-
No sidecar on disk (or an unreadable one): the lease is free.
- live → const LeaseState
-
A live lease: heartbeat fresher than the staleness window. The opener becomes a viewer — no path seizes a live lease.
- expired → const LeaseState
-
The sidecar exists but its heartbeat is older than the window: the owner is dead (crash, kill -9, suspended past the window). The lease is simply free — the next drive-open acquires it fresh.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
LeaseState> - A constant List of the values in this enum, in order of their declaration.