public class SettlerTask extends com.sun.jini.thread.RetryTask implements TransactionConstants
SettlerTask
is scheduled task, which
causes an unsettled transaction to settle.ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTING
Constructor and Description |
---|
SettlerTask(com.sun.jini.thread.TaskManager manager,
com.sun.jini.thread.WakeupManager wm,
TransactionManager txnmgr,
Object tid)
Constructs a
SettlerTask . |
Modifier and Type | Method and Description |
---|---|
boolean |
runAfter(List list,
int max)
Inherit doc comment from supertype.
|
boolean |
tryOnce() |
public SettlerTask(com.sun.jini.thread.TaskManager manager, com.sun.jini.thread.WakeupManager wm, TransactionManager txnmgr, Object tid)
SettlerTask
.manager
- TaskManager
providing the threads
of execution.txnmgr
- TransactionManager
which owns the
the transaction.tid
- transaction IDpublic boolean runAfter(List list, int max)
runAfter
in interface com.sun.jini.thread.TaskManager.Task
RetryTask
public boolean tryOnce()
tryOnce
in class com.sun.jini.thread.RetryTask
Copyright © GigaSpaces.