|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.commands.CancellationServiceImpl
public class CancellationServiceImpl
CancellationServiceImpl is a default implementation of CancellationService
Constructor Summary | |
---|---|
CancellationServiceImpl()
|
Method Summary | |
---|---|
void |
cancel(UUID id)
Cancels (invokes Thread#interrupt) a thread given a thread id |
void |
register(Thread t,
UUID id)
Registers thread with CancellationService under the given UUID id |
void |
unregister(UUID id)
Unregisters thread with CancellationService given an id |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CancellationServiceImpl()
Method Detail |
---|
public void register(Thread t, UUID id)
CancellationService
CancellationService
under the given UUID id
register
in interface CancellationService
t
- thread to associate with idid
- chosen UUID idpublic void unregister(UUID id)
CancellationService
CancellationService
given an id
unregister
in interface CancellationService
id
- thread idpublic void cancel(UUID id)
CancellationService
cancel
in interface CancellationService
id
- thread id
|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |