org.positronicnet.notifications

ValueQuery

class ValueQuery [Q, R] extends BaseNotifier with NotifierWithQuery[Q, R]

"Query" class which sends the same copy of its state to all watchers. See NotifierWithQuery.

Appropriate when the state is immutable, and all watchers can share it without stepping on each others' toes.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. ValueQuery
  2. NotifierWithQuery
  3. BaseNotifierImpl
  4. NotifierImpl
  5. Notifier
  6. BaseNotifier
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ValueQuery (facility: AppFacility, initialQuery: Q, queryFunc: (Q) ⇒ R)

Value Members

  1. def ! (action: Action[R]): Unit

    Perform the action, usually on a worker thread associated with this notifier.

    Perform the action, usually on a worker thread associated with this notifier. Results may be posted back to the calling thread, viz. the conventions documented in org.positronicnet.notifications.Actions.

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

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

    Attributes
    final
    Definition Classes
    Any
  4. def ## (): Int

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

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

    Attributes
    final
    Definition Classes
    Any
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. var cachedValue : R

    Attributes
    protected
  9. val changeHandlers : HashMap[AnyRef, (R) ⇒ Unit]

    Attributes
    protected
    Definition Classes
    BaseNotifierImpl
  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def currentParams : Q

    Definition Classes
    NotifierWithQuery
  12. var currentQuery : Q

    Attributes
    protected
    Definition Classes
    ValueQueryNotifierWithQuery
  13. def currentValue : R

    Attributes
    protected
    Definition Classes
    ValueQueryBaseNotifierImpl
  14. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def fetchOnThisThread : R

    Synchronously fetch the value being monitored by this Notifier.

    Synchronously fetch the value being monitored by this Notifier.

    Definition Classes
    BaseNotifierImplNotifier
  17. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  19. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  21. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  22. def noteChange : Unit

    Definition Classes
    ValueQueryBaseNotifierImplNotifierImpl
  23. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def onThisThread (action: Action[R]): Unit

    Perform the action, synchronously on the calling thread.

    Perform the action, synchronously on the calling thread.

    Definition Classes
    NotifierWithQueryBaseNotifierImplNotifier
  26. def onThread (thunk: ⇒ Unit): Unit

    Definition Classes
    BaseNotifier
  27. def requery (q: Q): Unit

    Definition Classes
    NotifierWithQuery
  28. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  29. def toString (): String

    Definition Classes
    AnyRef → Any
  30. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from NotifierWithQuery[Q, R]

Inherited from BaseNotifierImpl[R]

Inherited from NotifierImpl[R]

Inherited from Notifier[R]

Inherited from BaseNotifier

Inherited from AnyRef

Inherited from Any