org.digimead.digi.ctrl.lib.util

SyncVar

class SyncVar[A] extends Logging

Linear Supertypes
Logging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. SyncVar
  2. Logging
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SyncVar()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def get(timeout: Long): Option[A]

    Waits for this SyncVar to become defined at least for timeout milliseconds (possibly more), and gets its value.

    Waits for this SyncVar to become defined at least for timeout milliseconds (possibly more), and gets its value.

    timeout

    the amount of milliseconds to wait, 0 means forever

    returns

    None if variable is undefined after timeout, Some(value) otherwise

  12. def get(timeout: Long, guard: (A) ⇒ Boolean): Option[A]

    Waits for this SyncVar to become defined at least for timeout milliseconds (possibly more), and gets its value (if guard return true).

    Waits for this SyncVar to become defined at least for timeout milliseconds (possibly more), and gets its value (if guard return true).

    timeout

    the amount of milliseconds to wait, 0 means forever

    returns

    None if variable is undefined after timeout, Some(value) otherwise

  13. def get(): A

  14. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def isSet: Boolean

  18. implicit val log: RichLogger

    Attributes
    protected[lib]
    Definition Classes
    Logging
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def put(x: A, timeout: Long, signalAll: Boolean): Unit

  23. def put(x: A, timeout: Long): Unit

  24. def put(x: A, signalAll: Boolean): Unit

  25. def put(x: A): Unit

  26. def set(x: A, signalAll: Boolean = true): Unit

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def take(): A

  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. def unset(signalAll: Boolean = true): Unit

  31. val value: AtomicReference[Option[A]]

    Attributes
    protected
  32. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  34. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def waitMeasuringElapsed(fName: String, timeout: Long): Long

    Waits timeout millis.

    Waits timeout millis. If timeout <= 0 just returns 0. If the system clock went backward, it will return 0, so it never returns negative results.

    Attributes
    protected
  36. def waitUnset(timeout: Long): Boolean

Inherited from Logging

Inherited from AnyRef

Inherited from Any