Class ExpiryTickerImpl
- java.lang.Object
-
- com.atlassian.bamboo.utils.expirables.ExpiryTickerImpl
-
- All Implemented Interfaces:
ExpiryTicker
public final class ExpiryTickerImpl extends Object implements ExpiryTicker
-
-
Constructor Summary
Constructors Constructor Description ExpiryTickerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
register(ExpiryHandler expiring)
Registers a new expiry handler.void
tick()
CallsExpiryHandler.expiryTick()
on registered expiry handlers.
-
-
-
Method Detail
-
register
public boolean register(ExpiryHandler expiring)
Description copied from interface:ExpiryTicker
Registers a new expiry handler.- Specified by:
register
in interfaceExpiryTicker
- Returns:
-
tick
public void tick()
Description copied from interface:ExpiryTicker
CallsExpiryHandler.expiryTick()
on registered expiry handlers.- Specified by:
tick
in interfaceExpiryTicker
-
-