Package net.anwiba.commons.thread.cancel
Class CancelerProcess
- java.lang.Object
-
- net.anwiba.commons.thread.cancel.CancelerProcess
-
-
Constructor Summary
Constructors Constructor Description CancelerProcess(ICanceler canceler, java.lang.String descrition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(IMessageCollector processMonitor, ICanceler canceler, IProcessIdentfier processIdentfier)java.lang.StringgetDescription()java.lang.StringgetQueueName()booleanisCancelable()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.anwiba.commons.thread.process.IProcess
getDelay, isPeriodic
-
-
-
-
Constructor Detail
-
CancelerProcess
public CancelerProcess(ICanceler canceler, java.lang.String descrition)
-
-
Method Detail
-
getQueueName
public java.lang.String getQueueName()
- Specified by:
getQueueNamein interfaceIProcess
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceIProcess
-
execute
public void execute(IMessageCollector processMonitor, ICanceler canceler, IProcessIdentfier processIdentfier) throws CanceledException
- Specified by:
executein interfaceIProcess- Throws:
CanceledException
-
isCancelable
public boolean isCancelable()
- Specified by:
isCancelablein interfaceIProcess
-
-