Packages

package concurrency

This package is a simple utility set for aliases and concurrency operations.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. concurrency
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package pool

Type Members

  1. class PacketReaderThread extends Thread with JustifiedCloseable

    A simple abstract class to easily handle packet reading.

  2. class SimpleAsyncTask[A] extends WorkerTask[A] with AsyncTaskController

Value Members

  1. def currentThread: Thread

    Alias for Thread.currentThread

    Alias for Thread.currentThread

    returns

    the current Java Thread reference

  2. def now(): Long

    Alias for System.currentTimeMillis

    Alias for System.currentTimeMillis

    returns

    the current time in milliseconds since midnight, January 1, 1970 UTC

  3. def timedPark(ref: AnyRef = null, timeout: Long): Long

    Handles a monitor lock on the provided reference, excepted that the time the thread had wait the monitor of the object is returned.

    Handles a monitor lock on the provided reference, excepted that the time the thread had wait the monitor of the object is returned.

    timeout

    the maximum amount of time to wait

    returns

    the time the thread waited on the object.

  4. def timedWait(lock: AnyRef): Long

    Handles a monitor lock on the provided reference, excepted that the time the thread had wait the monitor of the object is returned.

    Handles a monitor lock on the provided reference, excepted that the time the thread had wait the monitor of the object is returned.

    lock

    the object to wait.

    returns

    the time the thread waited on the object.

  5. object PacketReaderThread
  6. object SimpleAsyncTask

Inherited from AnyRef

Inherited from Any

Ungrouped