c

akka.stream.contrib

DirectoryChanges

final class DirectoryChanges extends GraphStage[SourceShape[Pair[Path, Change]]]

Watches a file system directory and streams change events from it.

Note that the JDK watcher is notoriously slow on some platform (up to 1s after event actually happened on OSX for example)

Deprecated

since 0.10, use Alpakka's implementation instead https://developer.lightbend.com/docs/alpakka/current/file.html#listing-directory-contents

Linear Supertypes
GraphStage[SourceShape[Pair[Path, Change]]], GraphStageWithMaterializedValue[SourceShape[Pair[Path, Change]], NotUsed], Graph[SourceShape[Pair[Path, Change]], NotUsed], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DirectoryChanges
  2. GraphStage
  3. GraphStageWithMaterializedValue
  4. Graph
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DirectoryChanges(directoryPath: Path, pollInterval: FiniteDuration, maxBufferSize: Int)

    Deprecated

    since 0.10, use Alpakka's implementation instead https://developer.lightbend.com/docs/alpakka/current/file.html#listing-directory-contents

Type Members

  1. type Shape = SourceShape[Pair[Path, Change]]
    Definition Classes
    Graph

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAttributes(attr: Attributes): Graph[SourceShape[Pair[Path, Change]], NotUsed]
    Definition Classes
    Graph
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def async(dispatcher: String, inputBufferSize: Int): Graph[SourceShape[Pair[Path, Change]], NotUsed]
    Definition Classes
    Graph
  7. def async(dispatcher: String): Graph[SourceShape[Pair[Path, Change]], NotUsed]
    Definition Classes
    Graph
  8. def async: Graph[SourceShape[Pair[Path, Change]], NotUsed]
    Definition Classes
    Graph
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. def createLogic(inheritedAttributes: Attributes): GraphStageLogic
    Definition Classes
    DirectoryChanges → GraphStage
  11. final def createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, NotUsed)
    Definition Classes
    GraphStage → GraphStageWithMaterializedValue
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def initialAttributes(): Attributes
    Definition Classes
    DirectoryChanges → GraphStageWithMaterializedValue
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def named(name: String): Graph[SourceShape[Pair[Path, Change]], NotUsed]
    Definition Classes
    Graph
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def shape(): SourceShape[Pair[Path, Change]]
    Definition Classes
    DirectoryChanges → Graph
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    DirectoryChanges → AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  29. final def withAttributes(attr: Attributes): Graph[SourceShape[Pair[Path, Change]], NotUsed]
    Definition Classes
    GraphStageWithMaterializedValue → Graph

Inherited from GraphStage[SourceShape[Pair[Path, Change]]]

Inherited from GraphStageWithMaterializedValue[SourceShape[Pair[Path, Change]], NotUsed]

Inherited from Graph[SourceShape[Pair[Path, Change]], NotUsed]

Inherited from AnyRef

Inherited from Any

Ungrouped