class NumAssignmentsHITManager[Prompt, Response] extends HITManager[Prompt, Response] with StrictLogging
Simplest HIT manager, which gets a fixed number of assignments for every prompt and approves all assignments immediately. NOTE: this will crash if you try to have > 100 assignments per HIT. could possibly be fixed but seems not necessary since that's a kind of ridic use case.
- Alphabetic
- By Inheritance
- NumAssignmentsHITManager
- StrictLogging
- HITManager
- Actor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Type Members
-
type
Receive = PartialFunction[Any, Unit]
- Definition Classes
- Actor
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
-
def
addPrompt(prompt: Prompt): Unit
Adds a prompt to the set of prompts that this HITManager should be responsible for sourcing responses for.
Adds a prompt to the set of prompts that this HITManager should be responsible for sourcing responses for.
- Definition Classes
- NumAssignmentsHITManager → HITManager
-
def
aroundPostRestart(reason: Throwable): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
def
aroundPostStop(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
def
aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
def
aroundPreStart(): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
def
aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
- Attributes
- protected[akka]
- Definition Classes
- Actor
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
implicit
val
context: ActorContext
- Definition Classes
- Actor
-
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
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isFinished(prompt: Prompt): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- StrictLogging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- var numHITsToKeepActive: Int
-
def
postRestart(reason: Throwable): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
postStop(): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
preRestart(reason: Throwable, message: Option[Any]): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
preStart(): Unit
- Definition Classes
- Actor
- Annotations
- @throws( classOf[java.lang.Exception] )
- def promptFinished(prompt: Prompt): Unit
- val queuedPrompts: LazyStackQueue[Prompt]
-
final
def
receive: PartialFunction[Any, Unit]
- Definition Classes
- HITManager → Actor
-
lazy val
receiveAux: PartialFunction[Any, Unit]
Override to add more incoming message types and message-processing logic
Override to add more incoming message types and message-processing logic
- Definition Classes
- NumAssignmentsHITManager → HITManager
-
def
receiveAux2: PartialFunction[Any, Unit]
Override to add more possible incoming message types and message-processing logic.
- def refreshHITs: Unit
- def reviewAssignment(hit: HIT[Prompt], assignment: Assignment[Response]): Unit
-
final
def
reviewHITs: Unit
Queries Turk and refreshes the task state, sending assignments for approval/validation, approving/rejecting them, deleting HITs, etc.
Queries Turk and refreshes the task state, sending assignments for approval/validation, approving/rejecting them, deleting HITs, etc. as necessary
- Definition Classes
- NumAssignmentsHITManager → HITManager
-
implicit final
val
self: ActorRef
- Definition Classes
- Actor
-
final
def
sender(): ActorRef
- Definition Classes
- Actor
-
def
supervisorStrategy: SupervisorStrategy
- Definition Classes
- Actor
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unhandled(message: Any): Unit
- Definition Classes
- Actor
-
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
- @native() @throws( ... )