Instance Constructors
-
new
Task(ptr: PointerType)
-
new
Task(root: STMPtr[TaskData[T]])
Type Members
-
class
AtomicApi extends AtomicApiBase
-
class
SyncApi extends SyncApiBase
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
addSubscriber(task: Task[_], queue: StmExecutionQueue)(implicit ctx: STMTxnCtx): Future[Boolean]
-
final
def
asInstanceOf[T0]: T0
-
def
atomic(priority: Duration = 0.seconds)(implicit cluster: Restm): AtomicApi
-
def
canRun()(implicit ctx: STMTxnCtx): Future[Boolean]
-
def
checkExecutor(executorId: String, id: PointerType, threads: Iterable[Thread]): Boolean
-
def
clone(): AnyRef
-
def
complete(result: Try[TaskResult[T]])(implicit ctx: STMTxnCtx): Future[Unit]
-
def
data()(implicit ctx: STMTxnCtx): Future[TaskData[T]]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(other: Any): Boolean
-
def
finalize(): Unit
-
def
future(implicit cluster: Restm): Future[T]
-
final
def
getClass(): Class[_]
-
def
getStatusTrace(queue: StmExecutionQueue, threads: Iterable[Thread])(implicit ctx: STMTxnCtx): Future[TaskStatusTrace]
-
-
def
hashCode(): Int
-
def
id: String
-
def
initTriggers(queue: StmExecutionQueue)(implicit ctx: STMTxnCtx): Future[Unit.type]
-
def
isComplete()(implicit ctx: STMTxnCtx): Future[Boolean]
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[U](queue: StmExecutionQueue, function: (T, Restm, ExecutionContext) ⇒ TaskResult[U])(implicit ctx: STMTxnCtx): Future[Task[U]]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
obtainTask(executorId: String = UUID.randomUUID().toString)(implicit ctx: STMTxnCtx): Future[Option[TaskFunction[T]]]
-
val
root: STMPtr[TaskData[T]]
-
-
def
sync(duration: Duration): SyncApi
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
wrapMap[U](function: (T, Restm, ExecutionContext) ⇒ U): (Restm, ExecutionContext) ⇒ U
Inherited from AnyRef
Inherited from Any