edu
.
umass
.
cs
.
automan
.
adapters
.
mturk
.
worker
TurkWorker
Related Doc:
package worker
class
TurkWorker
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
TurkWorker
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
new
TurkWorker
(
backend:
RequesterService
,
sleep_ms:
Int
,
mock_service:
Option
[
MockRequesterService
]
,
memo_handle:
MTMemo
)
Type Members
type
BatchKey
= (
String
,
BigDecimal
,
Int
)
type
HITID
=
String
type
HITKey
= (
BatchKey
,
String
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
var
_workerExitState
:
Option
[
Throwable
]
def
accept
(
ts:
List
[
Task
]
)
:
Option
[
List
[
Task
]]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
val
backend
:
RequesterService
def
backend_budget
:
Option
[
BigDecimal
]
def
cancel
(
ts:
List
[
Task
]
,
toState:
core.scheduler.SchedulerState.Value
)
:
Option
[
List
[
Task
]]
def
cleanup_qualifications
()
:
Unit
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
memo_handle
:
MTMemo
val
mock_service
:
Option
[
MockRequesterService
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
post
(
ts:
List
[
Task
]
,
exclude_worker_ids:
List
[
String
]
)
:
Option
[
List
[
Task
]]
def
reject
(
ts_reasons:
List
[(
Task
,
String
)]
)
:
Option
[
List
[
Task
]]
def
retrieve
(
ts:
List
[
Task
]
,
current_time:
Date
)
:
Option
[
List
[
Task
]]
def
shutdown
()
:
Unit
val
sleep_ms
:
Int
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
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
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped