object PathWatchers
- Alphabetic
- By Inheritance
- PathWatchers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
Event extends AnyRef
Container for PathWatcher events.
- class Overflow extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
get(followLinks: Boolean, service: RegisterableWatchService, registry: DirectoryRegistry): PathWatcher[Event]
Create a PathWatcher for the runtime platform.
Create a PathWatcher for the runtime platform.
- registry
The registry of directories to monitor
- returns
PathWatcher for the runtime platform
-
def
get(followLinks: Boolean, registry: DirectoryRegistry): PathWatcher[Event]
Create a PathWatcher for the runtime platform.
Create a PathWatcher for the runtime platform.
- followLinks
toggles whether or not the targets of symbolic links should be monitored
- registry
The registry of directories to monitor
- returns
PathWatcher for the runtime platform initialized
-
def
get(followLinks: Boolean): PathWatcher[Event]
Create a PathWatcher for the runtime platform.
Create a PathWatcher for the runtime platform.
- followLinks
toggles whether or not the targets of symbolic links should be monitored
- returns
PathWatcher for the runtime platform initialized
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
polling(followLinks: Boolean, pollInterval: Long, timeUnit: TimeUnit): PathWatcher[Event]
Create a path watcher that periodically polls the file system to detect changes
Create a path watcher that periodically polls the file system to detect changes
- followLinks
toggles whether or not the targets of symbolic links should be monitored
- pollInterval
minimum duration between when polling ends and the next poll begins
- timeUnit
the time unit for which the pollInterval corresponds
- returns
the polling path watcher.
-
def
polling(converter: Converter[Long], followLinks: Boolean, pollInterval: Long, timeUnit: TimeUnit): PathWatcher[Event]
Create a path watcher that periodically polls the file system to detect changes
Create a path watcher that periodically polls the file system to detect changes
- converter
calculates the last modified time in milliseconds for the path watcher. This exists so that the converter can be replaced with a higher resolution calculation of the file system last modified time than is provided by the jvm, e.g. sbt.IO.getLastModifiedTimeOrZero.
- followLinks
toggles whether or not the targets of symbolic links should be monitored
- pollInterval
minimum duration between when polling ends and the next poll begins
- timeUnit
the time unit for which the pollInterval corresponds
- returns
the polling path watcher.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- object Event