Class ScheduleTimerMetaDataEntry<C>
- java.lang.Object
-
- org.wildfly.clustering.ejb.cache.timer.AbstractTimerMetaDataEntry<C>
-
- org.wildfly.clustering.ejb.cache.timer.ScheduleTimerMetaDataEntry<C>
-
- All Implemented Interfaces:
Function<Instant,Instant>,UnaryOperator<Instant>,Remappable<RemappableTimerMetaDataEntry<C>,Supplier<Offset<Duration>>>,ImmutableScheduleTimerMetaDataEntry<C>,ImmutableTimerMetaDataEntry<C>,RemappableTimerMetaDataEntry<C>,TimerMetaDataEntry<C>,ScheduleTimerConfiguration,TimerConfiguration
public class ScheduleTimerMetaDataEntry<C> extends AbstractTimerMetaDataEntry<C> implements ImmutableScheduleTimerMetaDataEntry<C>
An schedule-based timer metadata cache entry.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description ScheduleTimerMetaDataEntry(C context, ScheduleTimerConfiguration config)ScheduleTimerMetaDataEntry(C context, ScheduleTimerConfiguration config, Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instantapply(Instant lastTimeout)protected RemappableTimerMetaDataEntry<C>clone()ImmutableScheduleExpressiongetScheduleExpression()Predicate<Method>getTimeoutMatcher()Returns the timeout matcher, used to locate the timeout method within the associated component.-
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.ImmutableScheduleTimerMetaDataEntry
getType
-
Methods inherited from interface org.wildfly.clustering.ejb.cache.timer.ImmutableTimerMetaDataEntry
getContext, getLastTimeout
-
Methods inherited from interface org.wildfly.clustering.ejb.timer.ScheduleTimerConfiguration
getStart
-
-
-
-
Constructor Detail
-
ScheduleTimerMetaDataEntry
public ScheduleTimerMetaDataEntry(C context, ScheduleTimerConfiguration config)
-
ScheduleTimerMetaDataEntry
public ScheduleTimerMetaDataEntry(C context, ScheduleTimerConfiguration config, Method method)
-
-
Method Detail
-
getScheduleExpression
public ImmutableScheduleExpression getScheduleExpression()
- Specified by:
getScheduleExpressionin interfaceScheduleTimerConfiguration
-
getTimeoutMatcher
public Predicate<Method> getTimeoutMatcher()
Description copied from interface:ImmutableTimerMetaDataEntryReturns the timeout matcher, used to locate the timeout method within the associated component.- Specified by:
getTimeoutMatcherin interfaceImmutableTimerMetaDataEntry<C>- Returns:
- an timeout matcher
-
clone
protected RemappableTimerMetaDataEntry<C> clone()
- Specified by:
clonein classAbstractTimerMetaDataEntry<C>
-
-