Class/Object

blobstore.sftp

SftpStore

Related Docs: object SftpStore | package sftp

Permalink

case class SftpStore[F[_]](absRoot: String, channel: ChannelSftp, blockingExecutionContext: ExecutionContext)(implicit F: ConcurrentEffect[F], CS: ContextShift[F]) extends Store[F] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Store[F], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SftpStore
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Store
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SftpStore(absRoot: String, channel: ChannelSftp, blockingExecutionContext: ExecutionContext)(implicit F: ConcurrentEffect[F], CS: ContextShift[F])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit def _pathToString(path: Path): String

    Permalink
  5. val absRoot: String

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val blockingExecutionContext: ExecutionContext

    Permalink
  8. val channel: ChannelSftp

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def copy(src: Path, dst: Path): F[Unit]

    Permalink
    Definition Classes
    SftpStore → Store
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def get(path: Path, chunkSize: Int): Stream[F, Byte]

    Permalink
    Definition Classes
    SftpStore → Store
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def list(path: Path): Stream[F, Path]

    Permalink

    TODO: This is an unsafe list method since it uses ChannelSftp.ls(String) which loads the entire result in memory.

    TODO: This is an unsafe list method since it uses ChannelSftp.ls(String) which loads the entire result in memory. A better approach would be to use ChannelSftp.ls(String, LsEntrySelector) and provide a function that is called with every LSEntry returned, this is how ChannelSftp.ls is defined:

    public java.util.Vector ls(String path) throws SftpException{ final java.util.Vector v = new Vector(); LsEntrySelector selector = new LsEntrySelector(){ public int select(LsEntry entry){ v.addElement(entry); return CONTINUE; } }; ls(path, selector); return v; }

    path

    path to list

    returns

    Stream[F, Path]

    Definition Classes
    SftpStore → Store
  17. def move(src: Path, dst: Path): F[Unit]

    Permalink
    Definition Classes
    SftpStore → Store
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def put(path: Path): Sink[F, Byte]

    Permalink
    Definition Classes
    SftpStore → Store
  22. def remove(path: Path): F[Unit]

    Permalink
    Definition Classes
    SftpStore → Store
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Store[F]

Inherited from AnyRef

Inherited from Any

Ungrouped