Package

edu.umass.cs.automan.adapters.mturk

worker

Permalink

package worker

Visibility
  1. Public
  2. All

Type Members

  1. case class AcceptReq(ts: List[Task]) extends Message with Product with Serializable

    Permalink
  2. case class BudgetReq() extends Message with Product with Serializable

    Permalink
  3. case class CancelReq(ts: List[Task], toState: core.scheduler.SchedulerState.Value) extends Message with Product with Serializable

    Permalink
  4. case class CreateHITReq(ts: List[Task], exclude_worker_ids: List[String]) extends Message with Product with Serializable

    Permalink
  5. case class DisposeQualsReq(q: MTurkQuestion) extends Message with Product with Serializable

    Permalink
  6. class FIFOMessage extends Comparable[FIFOMessage]

    Permalink

    Adapted from http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/PriorityBlockingQueue.html.

    Adapted from http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/PriorityBlockingQueue.html. The purpose of this wrapper class is so that FIFO ordering is maintained for elements in the queue having the same priority.

  7. case class HITState(hit: HIT, t_a_map: Map[UUID, Option[Assignment]], hittype: HITType, cancelled: Boolean) extends Product with Serializable

    Permalink
  8. case class HITType(id: String, disqualification: QualificationRequirement, group_id: String) extends Product with Serializable

    Permalink
  9. case class MTState(hit_types: Map[BatchKey, HITType], hit_states: Map[HITID, HITState], hit_ids: Map[HITKey, HITID], worker_whitelist: Map[(WorkerID, GroupID), HITTypeID], disqualifications: Map[QualificationID, HITTypeID], batch_no: Map[GroupID, Map[BatchKey, Int]]) extends Product with Serializable

    Permalink
  10. sealed trait Message extends Comparable[Message]

    Permalink
  11. case class RejectReq(ts_reasons: List[(Task, String)]) extends Message with Product with Serializable

    Permalink
  12. case class RetrieveReq(ts: List[Task], current_time: Date) extends Message with Product with Serializable

    Permalink
  13. case class ShutdownReq() extends Message with Product with Serializable

    Permalink
  14. class TurkWorker extends AnyRef

    Permalink
  15. class WorkerRunnable extends Runnable

    Permalink

    This is a separate class to ensure that state changes are always managed by a single thread.

Value Members

  1. object HITState extends Serializable

    Permalink
  2. object MTurkMethods

    Permalink

    A collection of stateless MTurk utility functions.

  3. object WorkerRunnable

    Permalink

Ungrouped