2009/04/15 - Apache HiveMind has been retired.

For more information, please explore the Attic.

The ThreadLocalStorage service implements the ThreadLocalStorage interface. This service acts as a kind of Map for temporary data. The map is local to the current thread, and is cleared at the end of the transaction.

It is your responsibility to ensure that keys are unique, typically by prefixing them with a module id or package name.

Warning:

ThreadLocalStorage is likely to be removed in a future release of HiveMind. It is advised that you use the threaded service model instead.