ZoneOverlap

What a closure should do when some zone it wants is already promised to another closure.

An overlap is narrower than it first sounds, and the distinction is the one this whole mechanism turns on. A zone another holder already holds is not an overlap: asking for it succeeds and waits for the hold to end, under every value here. An overlap is a zone that has been promised to a closure which has not yet been granted it -- a region still draining.

There is no right answer, which is why this is a parameter rather than a policy the guide path keeps. Two spills in the same aisle are usually one spill, cleaned once; two maintenance windows on the same leg are usually two, done in turn. Only the model knows which.

Entries

Link copied to clipboard

Refuse, loudly. The request raises, and the message says which zone is promised to whom.

Link copied to clipboard

Answer null, and reserve nothing.

Link copied to clipboard

Take a place in the queue behind whoever is already promised the zone.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.