Thread Local Rd Context
abstract class ThreadLocalRdContext<T : Any>( key: String, heavy: Boolean, serializer: IMarshaller<T>) : RdContext<T>
Content copied to clipboard
Describes an RdContext which uses ThreadLocal as internal storage for values
Constructors
Link copied to clipboard
fun <T : Any> ThreadLocalRdContext( key: String, heavy: Boolean, serializer: IMarshaller<T>)
Content copied to clipboard
Functions
Link copied to clipboard
Changes current value to newValue and returns a cookie which should restore old value on closing
Properties
Link copied to clipboard
Value which is used as a key inside per-context entities like RdPerContextMap