Class ThreadLocalImpl<T>
- java.lang.Object
-
- net.officefloor.frame.impl.execute.thread.ThreadLocalImpl<T>
-
- All Implemented Interfaces:
ThreadLocalConfiguration
public class ThreadLocalImpl<T> extends java.lang.Object implements ThreadLocalConfiguration
OptionalThreadLocal
implementation.- Author:
- Daniel Sagenschneider
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ThreadLocalImpl.OptionalThreadLocalImpl<T>
OptionalThreadLocal
implementation.
-
Constructor Summary
Constructors Constructor Description ThreadLocalImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OptionalThreadLocal<T>
getOptionalThreadLocal()
Obtains theOptionalThreadLocal
.void
setManagedObjectIndex(ManagedObjectIndex index)
-
-
-
Method Detail
-
getOptionalThreadLocal
public OptionalThreadLocal<T> getOptionalThreadLocal()
Obtains theOptionalThreadLocal
.- Returns:
OptionalThreadLocal
.
-
setManagedObjectIndex
public void setManagedObjectIndex(ManagedObjectIndex index)
Description copied from interface:ThreadLocalConfiguration
- Specified by:
setManagedObjectIndex
in interfaceThreadLocalConfiguration
- Parameters:
index
-ManagedObjectIndex
identifying theManagedObject
for theOptionalThreadLocal
.
-
-