CustodianPosition class
Where this copy stands against its custodian, as far as the watermark and this copy's own refs tell. It says what work there is, and it is known while the cloud is still waking. A hint for the status and for what to do; only a round moves anything. A copy holding unsent work is always WORK_TO_SEND, even when there is also work to fetch: a round carries both, and it must never read as in sync.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
This enum's name, as specified in the .proto file.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
This enum's integer value, as specified in the .proto file.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Returns this enum's
nameor thevalueif names are not represented.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
valueOf(
int value) → CustodianPosition?
Constants
- CUSTODIAN_POSITION_LEVEL → const CustodianPosition
- This copy's head and bookmark are the custodian's watermark, and it holds no work. Nothing to do.
- CUSTODIAN_POSITION_UNKNOWN → const CustodianPosition
- Not told, or the custodian does not know. Nothing is claimed.
- CUSTODIAN_POSITION_WORK_TO_FETCH → const CustodianPosition
- The custodian's main is not this copy's: a round is owed.
- CUSTODIAN_POSITION_WORK_TO_SEND → const CustodianPosition
- This copy holds work its custodian has not been shown to hold.
-
values
→ const List<
CustodianPosition>