Packages

c

akka.stream.alpakka.file.impl

FileTailSource

final class FileTailSource extends GraphStage[SourceShape[ByteString]]

INTERNAL API

Read the entire contents of a file, and then when the end is reached, keep reading newly appended data. Like the unix command tail -f.

Aborting the stage can be done by combining with a akka.stream.KillSwitch

To use the stage from Scala see the factory methods in akka.stream.alpakka.file.scaladsl.FileTailSource

Source
FileTailSource.java
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileTailSource
  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 FileTailSource(path: Path, maxChunkSize: Int, startingPosition: Long, pollingInterval: FiniteDuration)

Type Members

  1. type Shape = SourceShape[ByteString]
    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[ByteString], NotUsed]
    Definition Classes
    Graph
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def async(dispatcher: String, inputBufferSize: Int): Graph[SourceShape[ByteString], NotUsed]
    Definition Classes
    Graph
  7. def async(dispatcher: String): Graph[SourceShape[ByteString], NotUsed]
    Definition Classes
    Graph
  8. def async: Graph[SourceShape[ByteString], NotUsed]
    Definition Classes
    Graph
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  10. def createLogic(inheritedAttributes: Attributes): GraphStageLogic
    Definition Classes
    FileTailSource → 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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def initialAttributes: Attributes
    Attributes
    protected
    Definition Classes
    GraphStageWithMaterializedValue
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def named(name: String): Graph[SourceShape[ByteString], NotUsed]
    Definition Classes
    Graph
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def shape(): SourceShape[ByteString]
    Definition Classes
    FileTailSource → Graph
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def withAttributes(attr: Attributes): Graph[SourceShape[ByteString], NotUsed]
    Definition Classes
    GraphStageWithMaterializedValue → Graph

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from GraphStage[SourceShape[ByteString]]

Inherited from Graph[SourceShape[ByteString], NotUsed]

Inherited from AnyRef

Inherited from Any

Ungrouped