Package com.atlassian.bamboo.utils
Class RecentLazyReference<T>
- java.lang.Object
-
- com.atlassian.bamboo.utils.RecentLazyReference<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RecentLazyReference.RecentPredicate
-
Constructor Summary
Constructors Constructor Description RecentLazyReference(long amount, TimeUnit unit)
RecentLazyReference(RecentLazyReference.RecentPredicate recentPredicate)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract T
createInstance()
T
get()
void
setRecentPredicate(long amount, TimeUnit unit)
void
setRecentPredicate(RecentLazyReference.RecentPredicate recentPredicate)
-
-
-
Constructor Detail
-
RecentLazyReference
public RecentLazyReference(long amount, TimeUnit unit)
-
RecentLazyReference
public RecentLazyReference(RecentLazyReference.RecentPredicate recentPredicate)
-
-
Method Detail
-
setRecentPredicate
public void setRecentPredicate(long amount, TimeUnit unit)
-
setRecentPredicate
public void setRecentPredicate(RecentLazyReference.RecentPredicate recentPredicate)
-
-