Interface BlobStorageWriter

All Superinterfaces:
BlobStorageReader, NodeOps<PathbeanKey,Pathbean>
All Known Subinterfaces:
BlobStorage, BlobStorage.BlobStorageNode, BlobStorage.PhysicalBlobStorageNode
All Known Implementing Classes:
Directory

public interface BlobStorageWriter extends BlobStorageReader
Methods for writing to an object store such as the filesystem or S3.
  • Method Details

    • write

      void write(PathbeanKey key, byte[] value, Config config)
    • write

      default void write(PathbeanKey key, byte[] value)
    • write

      default void write(PathbeanKey key, io.datarouter.scanner.Scanner<byte[]> chunks, Config config)
    • write

      default void write(PathbeanKey key, io.datarouter.scanner.Scanner<byte[]> chunks)
    • write

      void write(PathbeanKey key, InputStream inputStream, Config config)
    • write

      default void write(PathbeanKey key, InputStream inputStream)
    • writeParallel

      default void writeParallel(PathbeanKey key, InputStream inputStream, io.datarouter.scanner.Threads threads, io.datarouter.bytes.ByteLength minPartSize, Config config)
    • writeParallel

      default void writeParallel(PathbeanKey key, InputStream inputStream, io.datarouter.scanner.Threads threads, io.datarouter.bytes.ByteLength minPartSize)
    • writeParallel

      default void writeParallel(PathbeanKey key, io.datarouter.scanner.Scanner<List<byte[]>> parts, io.datarouter.scanner.Threads threads, Config config)
    • writeParallel

      default void writeParallel(PathbeanKey key, io.datarouter.scanner.Scanner<List<byte[]>> parts, io.datarouter.scanner.Threads threads)
    • delete

      void delete(PathbeanKey key, Config config)
    • delete

      default void delete(PathbeanKey key)
    • deleteAll

      void deleteAll(Subpath subpath, Config config)
      Delete all descendants and the subpath directory
    • deleteAll

      default void deleteAll(Subpath subpath)
    • vacuum

      void vacuum(Config config)