Class LazyExpiryHandler
- java.lang.Object
-
- com.atlassian.bamboo.utils.expirables.LazyExpiryHandler
-
- All Implemented Interfaces:
ExpiryHandler
- Direct Known Subclasses:
GuavaCacheLazyExpiryHandler
public abstract class LazyExpiryHandler extends Object implements ExpiryHandler
This class handles expirables that maintain their own expiry settings.
-
-
Constructor Summary
Constructors Constructor Description LazyExpiryHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onCreate()
Called when an expirable object is created/recreated.void
onUse()
Called when an expirable object is used.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.expirables.ExpiryHandler
expiryTick
-
-
-
-
Method Detail
-
onCreate
public void onCreate()
Description copied from interface:ExpiryHandler
Called when an expirable object is created/recreated.- Specified by:
onCreate
in interfaceExpiryHandler
-
onUse
public void onUse()
Description copied from interface:ExpiryHandler
Called when an expirable object is used.- Specified by:
onUse
in interfaceExpiryHandler
-
-