org.scommon.io

Watcher

object Watcher

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Watcher
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type ErrorReceived[TRoot <: Watchable] = (TRoot, Throwable) ⇒ Unit

  2. trait EventListener[TRoot <: Watchable, TSource <: Watchable] extends EventMagnet[TRoot, TSource]

  3. trait EventMagnet[TRoot <: Watchable, TSource <: Watchable] extends AnyRef

  4. type EventReceived[TRoot <: Watchable, TSource <: Watchable] = (TRoot, TSource, EventType) ⇒ Unit

  5. trait EventType extends Kind[AnyRef]

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. val ALL_KNOWN_EVENT_TYPES: Iterable[EventType]

  7. val CREATED: EventType

  8. val DELETED: EventType

  9. val MODIFIED: EventType

  10. implicit val NOOP_ERRORRECEIVED: (Watchable, Throwable) ⇒ Unit

  11. implicit val NOOP_EVENTMAGNET: EventMagnet[Watchable, Watchable]

  12. implicit val NOOP_EVENTRECEIVED: (Watchable, Watchable, EventType) ⇒ Unit

  13. val STARTED: EventType

  14. val STOPPED: EventType

  15. def apply[TWatchable <: Watchable](watched: TraversableOnce[TWatchable], fallbackDuration: Duration, threadFactory: ThreadFactory)(implicit listener: EventMagnet[TWatchable, TWatchable]): Watcher[TWatchable, TWatchable]

  16. def apply[TWatchable <: Watchable](watched: TraversableOnce[TWatchable], fallbackDuration: Duration = 1.second)(fnEvent: (TWatchable, TWatchable, EventType) ⇒ Unit)(implicit fnError: (TWatchable, Throwable) ⇒ Unit = NOOP_ERRORRECEIVED): Watcher[TWatchable, TWatchable]

  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  21. def eventReceivedAndErrorReceived2EventMagnet[TRoot <: Watchable, TSource <: Watchable](fnEvent: (TRoot, TSource, EventType) ⇒ Unit, fnError: (TRoot, Throwable) ⇒ Unit): EventMagnet[TRoot, TSource]

  22. implicit def files2Watchable(files: TraversableOnce[File]): TraversableOnce[Watchable]

  23. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  27. implicit def multipleEventReceiveds2EventMagnet[TRoot <: Watchable, TSource <: Watchable](started: (TRoot, TSource, EventType) ⇒ Unit = NOOP_EVENTRECEIVED, stopped: (TRoot, TSource, EventType) ⇒ Unit = NOOP_EVENTRECEIVED, created: (TRoot, TSource, EventType) ⇒ Unit = NOOP_EVENTRECEIVED, modified: (TRoot, TSource, EventType) ⇒ Unit = NOOP_EVENTRECEIVED, deleted: (TRoot, TSource, EventType) ⇒ Unit = NOOP_EVENTRECEIVED): EventMagnet[TRoot, TSource]

  28. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  31. def singleErrorReceived2EventMagnet[TRoot <: Watchable](callback: (TRoot, Throwable) ⇒ Unit): EventMagnet[TRoot, TRoot]

  32. def singleEventReceived2EventMagnet[TRoot <: Watchable, TSource <: Watchable](callback: (TRoot, TSource, EventType) ⇒ Unit): EventMagnet[TRoot, TSource]

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

    Definition Classes
    AnyRef
  34. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped