Package dev.getelements.elements.rt
Class CurrentResource
java.lang.Object
dev.getelements.elements.rt.CurrentResource
Houses a
ReentrantThreadLocal
to represent the currently available
ReentrantThreadLocal<Attributes>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReentrantThreadLocal
<Resource> Gets the shared instance.
-
Constructor Details
-
CurrentResource
public CurrentResource()
-
-
Method Details
-
getInstance
Gets the shared instance.- Returns:
- the
ReentrantThreadLocal<Attributes>
instance.
-