edu
.
umass
.
cs
.
automan
.
core
.
scheduler
Task
case class
Task
(
task_id:
UUID
,
question:
Question
,
round:
Int
,
timeout_in_s:
Int
,
worker_timeout:
Int
,
cost:
BigDecimal
,
created_at:
Date
,
state:
SchedulerState.Value
,
from_memo:
Boolean
,
worker_id:
Option
[
String
]
,
answer:
Option
[
A
]
,
state_changed_at:
Date
)
extends
Product
with
Serializable
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Task
Serializable
Serializable
Product
Equals
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
Task
(
task_id:
UUID
,
question:
Question
,
round:
Int
,
timeout_in_s:
Int
,
worker_timeout:
Int
,
cost:
BigDecimal
,
created_at:
Date
,
state:
SchedulerState.Value
,
from_memo:
Boolean
,
worker_id:
Option
[
String
]
,
answer:
Option
[
A
]
,
state_changed_at:
Date
)
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
val
answer
:
Option
[
A
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
copy_as_accepted
()
:
Task
def
copy_as_cancelled
()
:
Task
def
copy_as_duplicate
()
:
Task
def
copy_as_rejected
()
:
Task
def
copy_as_running
()
:
Task
def
copy_as_timeout
()
:
Task
def
copy_with_answer
(
ans:
A
,
wrk_id:
String
)
:
Task
val
cost
:
BigDecimal
val
created_at
:
Date
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
expires_at
:
Date
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
val
from_memo
:
Boolean
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
is_timedout
(
current_time:
Date
)
:
Boolean
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
question
:
Question
val
round
:
Int
val
state
:
SchedulerState.Value
val
state_changed_at
:
Date
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
task_id
:
UUID
val
timeout_in_s
:
Int
def
toString
()
:
String
Definition Classes
Task
→ AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
worker_id
:
Option
[
String
]
val
worker_timeout
:
Int
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyRef
Inherited from
Any
Ungrouped