const mixinafIoc::ThreadStashManager

afIoc::ThreadStashManager

Creates and keeps tabs on ThreadStashs so they may be cleaned up, say, at the end of a web request.

@since 1.3.0

addCleanUpHandler

Source

abstract Void addCleanUpHandler(|->Void handler)

Add a handler to be called on thread clean up

cleanUpThread

Source

abstract Void cleanUpThread()

Removes all values in the current thread associated / used with this manager

createStash

Source

abstract ThreadStash createStash(Str owner)

creates a stash with the given prefix

keys

Source

abstract Str[] keys()

Returns all (fully qualified) keys in the current thread associated / used with this manager