|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CancellationService
CancellationService manages association of Thread executing CancellableCommand in a remote VM and if needed cancels command execution
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 |
Method Detail |
---|
void register(Thread t, UUID id)
CancellationService
under the given UUID id
t
- thread to associate with idid
- chosen UUID idvoid unregister(UUID id)
CancellationService
given an id
id
- thread idvoid cancel(UUID id)
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 |