Skip to content

Commit

Permalink
Deprecate DirectoryChanges and FileTailSource as they are part of Alp…
Browse files Browse the repository at this point in the history
…akka
  • Loading branch information
ennru committed Jun 15, 2018
1 parent fdb28a8 commit a09eda1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Expand Up @@ -31,7 +31,10 @@
* 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
*/
@Deprecated
public final class DirectoryChanges extends GraphStage<SourceShape<Pair<Path, DirectoryChanges.Change>>> {

public enum Change {
Expand Down
2 changes: 2 additions & 0 deletions contrib/src/main/java/akka/stream/contrib/FileTailSource.java
Expand Up @@ -29,7 +29,9 @@
* newly appended data. Like the unix command `tail -f`.
*
* Aborting the stage can be done by combining with a [[akka.stream.KillSwitch]]
* @deprecated since 0.10, use Alpakka's implementation instead https://developer.lightbend.com/docs/alpakka/current/file.html#tailing-a-file-into-a-stream
*/
@Deprecated
public final class FileTailSource extends GraphStage<SourceShape<ByteString>> {

private final Path path;
Expand Down

0 comments on commit a09eda1

Please sign in to comment.