Package dev.enola.cas
Interface BlobStore
- All Known Implementing Classes:
IPFSBlobStore
public interface BlobStore
BlobStore stores bytes, which can then be loaded again given their CID.
This interface could be implemented with:
- just with simple non-distributed local files
- Or into a Key Value Store
- with systemd casync
- on IPFS in CAR files
- on IPFS, distributed (with IPFS Bitswap with Kubo (or Nabu)
- on the Iroh Network based on Iroh by number0
- something else, maybe based on Consensus with Raft or Paxos.
-
Method Summary
Modifier and TypeMethodDescriptionload(io.ipfs.cid.Cid cid) io.ipfs.cid.Cidstore(ByteSource source)
-
Method Details
-
store
- Throws:
IOException
-
load
- Throws:
IOException
-