GuardLane

enum GuardLane(val killIdField: String) : Enum<GuardLane>

Which per-thread kill-id field an instrumented script reads. The server lane runs on the Server thread; the client and render lanes BOTH run on the Render thread and share one field (they never run concurrently). Each case names the static field the inlined GETSTATIC reads. A future lane needing its own thread costs one case here, one field, and one branch in TimeoutGuard.setKillId — the rest of the guard state is per-ordinal.

Constructors

Link copied to clipboard
private constructor(killIdField: String)

Entries

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): GuardLane

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.