object
Watcher
Type Members
-
type
ErrorReceived[TRoot <: Watchable] = (TRoot, Throwable) ⇒ Unit
-
trait
EventListener[TRoot <: Watchable, TSource <: Watchable] extends EventMagnet[TRoot, TSource]
-
trait
EventMagnet[TRoot <: Watchable, TSource <: Watchable] extends AnyRef
-
type
EventReceived[TRoot <: Watchable, TSource <: Watchable] = (TRoot, TSource, EventType) ⇒ Unit
-
trait
EventType extends Kind[AnyRef]
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
val
ALL_KNOWN_EVENT_TYPES: Iterable[EventType]
-
-
-
-
implicit
val
NOOP_ERRORRECEIVED: (Watchable, Throwable) ⇒ Unit
-
implicit
val
NOOP_EVENTMAGNET: EventMagnet[Watchable, Watchable]
-
implicit
val
NOOP_EVENTRECEIVED: (Watchable, Watchable, EventType) ⇒ Unit
-
-
-
def
apply[TWatchable <: Watchable](watched: TraversableOnce[TWatchable], fallbackDuration: Duration, threadFactory: ThreadFactory)(implicit listener: EventMagnet[TWatchable, TWatchable]): Watcher[TWatchable, TWatchable]
-
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]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
eventReceivedAndErrorReceived2EventMagnet[TRoot <: Watchable, TSource <: Watchable](fnEvent: (TRoot, TSource, EventType) ⇒ Unit, fnError: (TRoot, Throwable) ⇒ Unit): EventMagnet[TRoot, TSource]
-
implicit
def
files2Watchable(files: TraversableOnce[File]): TraversableOnce[Watchable]
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
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]
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
singleErrorReceived2EventMagnet[TRoot <: Watchable](callback: (TRoot, Throwable) ⇒ Unit): EventMagnet[TRoot, TRoot]
-
def
singleEventReceived2EventMagnet[TRoot <: Watchable, TSource <: Watchable](callback: (TRoot, TSource, EventType) ⇒ Unit): EventMagnet[TRoot, TSource]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any