Class ScheduleExpirationCommand<K>
java.lang.Object
org.wildfly.clustering.server.infinispan.scheduler.AbstractPrimaryOwnerCommand<K, ExpirationMetaData, Void>
org.wildfly.clustering.server.infinispan.scheduler.ScheduleCommand<K, ExpirationMetaData>
org.wildfly.clustering.server.infinispan.expiration.ScheduleExpirationCommand<K>
- Type Parameters:
K- the scheduled entry key type
- All Implemented Interfaces:
Command<Void, Scheduler<K, ExpirationMetaData>, RuntimeException>, PrimaryOwnerCommand<K, ExpirationMetaData, Void>
ScheduleCommand that wraps expiration metadata with a marshallable implementation.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a schedule command for the specified entry. -
Method Summary
Modifier and TypeMethodDescriptionprotected ExpirationMetaDatagetValue()Returns the value to be scheduled.Methods inherited from class ScheduleCommand
executeMethods inherited from class AbstractPrimaryOwnerCommand
getKey, toString
-
Constructor Details
-
ScheduleExpirationCommand
Creates a schedule command for the specified entry.- Parameters:
entry- the scheduled entry
-
-
Method Details
-
getValue
Description copied from class:ScheduleCommandReturns the value to be scheduled.- Overrides:
getValuein classScheduleCommand<K, ExpirationMetaData>- Returns:
- the value to be scheduled.
-