public class SettlerTask extends RetryTask implements TransactionConstants
SettlerTask is scheduled task, which causes an unsettled transaction to settle.ABORTED, ACTIVE, COMMITTED, NOTCHANGED, PREPARED, VOTINGDAYS, HOURS, MINUTES, SECONDS| Constructor and Description |
|---|
SettlerTask(TaskManager manager,
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()
Make a single attempt.
|
public SettlerTask(TaskManager manager, 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 TaskManager.Tasklist - the tasks to consider. A read-only List, with all elements instanceof
Task.max - elements with index less than size should be consideredRetryTaskCopyright © GigaSpaces.