const classafConcurrent::LocalRef

sys::Obj
  afConcurrent::LocalRef

Manages an Obj reference stored in Actor.locals with a unique key.

cleanUp

Source

Void cleanUp()

Removes this object from Actor.locals.

isMapped

Source

Bool isMapped()

Returns true if Actor.locals holds an entry for this qname.

make

Source

new make(Str name, Obj? initVal := null)

Creates an entry in Actor.locals using the given name.

name

Source

const Str name

The variable name given to the ctor.

qname

Source

const Str qname

The qualified name this ThreadLocal is stored under in Actor.locals. qname is calculated from name.

val

Source

Obj? val