Class IntervalTimerMetaDataEntry<C>
- java.lang.Object
-
- org.wildfly.clustering.ejb.cache.timer.AbstractTimerMetaDataEntry<C>
-
- org.wildfly.clustering.ejb.cache.timer.IntervalTimerMetaDataEntry<C>
-
- All Implemented Interfaces:
Function<Instant,Instant>,UnaryOperator<Instant>,Remappable<RemappableTimerMetaDataEntry<C>,Supplier<Offset<Duration>>>,ImmutableIntervalTimerMetaDataEntry<C>,ImmutableTimerMetaDataEntry<C>,RemappableTimerMetaDataEntry<C>,TimerMetaDataEntry<C>,IntervalTimerConfiguration,TimerConfiguration
public class IntervalTimerMetaDataEntry<C> extends AbstractTimerMetaDataEntry<C> implements ImmutableIntervalTimerMetaDataEntry<C>
An interval-based timer metadata cache entry.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description IntervalTimerMetaDataEntry(C context, Instant start, Duration interval)IntervalTimerMetaDataEntry(C context, IntervalTimerConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instantapply(Instant lastTimeout)protected RemappableTimerMetaDataEntry<C>clone()DurationgetInterval()-
Methods inherited from class org.wildfly.clustering.ejb.cache.timer.AbstractTimerMetaDataEntry
getContext, getLastTimeout, getStart, remap, setLastTimeout
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wildfly.clustering.ejb.cache.timer.ImmutableIntervalTimerMetaDataEntry
getType
-
Methods inherited from interface org.wildfly.clustering.ejb.cache.timer.ImmutableTimerMetaDataEntry
getContext, getLastTimeout, getTimeoutMatcher
-
Methods inherited from interface org.wildfly.clustering.ejb.timer.TimerConfiguration
getStart
-
-
-
-
Constructor Detail
-
IntervalTimerMetaDataEntry
public IntervalTimerMetaDataEntry(C context, IntervalTimerConfiguration config)
-
-
Method Detail
-
getInterval
public Duration getInterval()
- Specified by:
getIntervalin interfaceIntervalTimerConfiguration
-
clone
protected RemappableTimerMetaDataEntry<C> clone()
- Specified by:
clonein classAbstractTimerMetaDataEntry<C>
-
-