Package org.apache.qpid.server.transport
Class TransactionTimeoutTicker
- java.lang.Object
-
- org.apache.qpid.server.transport.TransactionTimeoutTicker
-
- All Implemented Interfaces:
Ticker
,SchedulingDelayNotificationListener
public class TransactionTimeoutTicker extends Object implements Ticker, SchedulingDelayNotificationListener
-
-
Constructor Summary
Constructors Constructor Description TransactionTimeoutTicker(long timeoutValue, long notificationRepeatPeriod, com.google.common.base.Supplier<Long> timeStampSupplier, Action<Long> notification)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getTimeToNextTick(long currentTime)
void
notifySchedulingDelay(long schedulingDelay)
int
tick(long currentTime)
-
-
-
Method Detail
-
getTimeToNextTick
public int getTimeToNextTick(long currentTime)
- Specified by:
getTimeToNextTick
in interfaceTicker
-
notifySchedulingDelay
public void notifySchedulingDelay(long schedulingDelay)
- Specified by:
notifySchedulingDelay
in interfaceSchedulingDelayNotificationListener
-
-