Package net.minecraftforge.common.util
Class ClearableLazy.Concurrent<T>
java.lang.Object
net.minecraftforge.common.util.ClearableLazy.Concurrent<T>
- All Implemented Interfaces:
Supplier<T>
,ClearableLazy<T>
,Lazy<T>
- Enclosing interface:
ClearableLazy<T>
Thread-safe implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraftforge.common.util.ClearableLazy
ClearableLazy.Concurrent<T>, ClearableLazy.Fast<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
lock
-
supplier
-
instance
-
-
Constructor Details
-
Concurrent
-
-
Method Details
-
get
-
invalidate
public void invalidate()- Specified by:
invalidate
in interfaceClearableLazy<T>
-