Interface IProcess
-
- All Known Implementing Classes:
AbstractProcess,CancelerProcess,DummyProcess
public interface IProcess
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidexecute(IMessageCollector processMonitor, ICanceler canceler, IProcessIdentfier processIdentfier)default longgetDelay(java.util.concurrent.TimeUnit unit)java.lang.StringgetDescription()java.lang.StringgetQueueName()booleanisCancelable()default booleanisPeriodic()
-
-
-
Method Detail
-
execute
void execute(IMessageCollector processMonitor, ICanceler canceler, IProcessIdentfier processIdentfier) throws CanceledException
- Throws:
CanceledException
-
getDescription
java.lang.String getDescription()
-
getQueueName
java.lang.String getQueueName()
-
isCancelable
boolean isCancelable()
-
getDelay
default long getDelay(java.util.concurrent.TimeUnit unit)
-
isPeriodic
default boolean isPeriodic()
-
-