getObject

Asynchronously returns the given object in a ByteBuffer.

If the object doesn't exist, the CompletableFuture completes with an IllegalStateException.


open fun getObject(k: Path, outPath: Path): CompletableFuture<Path>

Asynchronously writes the object to the given path.

Replaces any existing file at the given path.

If the object doesn't exist, the CompletableFuture completes with an IllegalStateException.