const classafConcurrent::LocalRef
sys::Obj afConcurrent::LocalRef
Manages an Obj reference stored in Actor.locals with a unique key.
- cleanUp
Void cleanUp()Removes this object from
Actor.locals.- isMapped
Bool isMapped()Returns
trueifActor.localsholds an entry for thisqname.- make
new make(Str name, Obj? initVal := null)Creates an entry in
Actor.localsusing the given name.- name
const Str nameThe variable name given to the ctor.
- qname
const Str qnameThe qualified name this
ThreadLocalis stored under inActor.locals.qnameis calculated fromname.- val
Obj? val