Package jetbrains.buildServer.util
Class SoftCache<T>
- java.lang.Object
-
- jetbrains.buildServer.util.SoftCache<T>
-
public class SoftCache<T> extends Object
Lazy soft reference with synchronized re-computation- Since:
- 6.5
- Author:
- Eugene Petrenko (eugene.petrenko@gmail.com) Date: 21.03.11 20:14
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SoftCache.Calculator<T>
-
Constructor Summary
Constructors Constructor Description SoftCache(SoftCache.Calculator<T> calculator)
-
-
-
Constructor Detail
-
SoftCache
public SoftCache(@NotNull SoftCache.Calculator<T> calculator)
-
-
Method Detail
-
get
@Nullable public T get()
-
-