Packages

abstract class OutputDirectoryImpl extends OutputDirectory

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OutputDirectoryImpl
  2. OutputDirectory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OutputDirectoryImpl()

Abstract Value Members

  1. abstract def delete(name: String)(implicit ec: ExecutionContext): Future[Unit]

    Deletes the given file.

    Deletes the given file. Fails if it does not exist.

  2. abstract def listFiles()(implicit ec: ExecutionContext): Future[List[String]]

    Lists all the files in the directory.

  3. abstract def readFull(name: String)(implicit ec: ExecutionContext): Future[ByteBuffer]

    Fully read the given file into a new ByteBuffer.

  4. abstract def writeFull(name: String, buf: ByteBuffer)(implicit ec: ExecutionContext): Future[Unit]

    Writes to the given file.

    Writes to the given file.

    Writing should only result in a file write if the contents of the file actually changed. Further, if the underlying filesystem allows it, the file should be written atomically.

    Calling this method is equivalent to calling writeFull(name, buf, skipContentCheck = false).

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  20. def writeFull(name: String, buf: ByteBuffer, skipContentCheck: Boolean)(implicit ec: ExecutionContext): Future[Unit]

    Writes to the given file.

    Writes to the given file.

    • If skipContentCheck is false, writing should only result in a file write if the contents of the file actually changed.
    • If it is true, the implementation is encouraged not to check for the file contents, and always write it; however, this not mandatory for backward compatibility reasons.

    If the underlying filesystem allows it, the file should be written atomically.

    The default implementation of this method calls writeFull without the skipContentCheck, which is suboptimal. Therefore, it is encouraged to override it.

Inherited from OutputDirectory

Inherited from AnyRef

Inherited from Any

Ungrouped