Package org.mockserver.state.infinispan
Class InfinispanBlobStore
java.lang.Object
org.mockserver.state.infinispan.InfinispanBlobStore
- All Implemented Interfaces:
AutoCloseable,BlobStore
BlobStore backed by an Infinispan cache. Blobs are stored as
serialized Blob instances keyed by their path-like key.
The backing cache mirrors the configured InfinispanStateBackend
mode: in LOCAL mode it is a heap-only single-node cache, and in CLUSTERED
mode it is a REPL_SYNC cache replicated across all cluster members.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeletes a blob by key.Retrieves a blob by key.Lists all blob keys that start with the given prefix.voidStores a blob, overwriting any existing blob with the same key.
-
Constructor Details
-
InfinispanBlobStore
-
-
Method Details
-
put
Description copied from interface:BlobStoreStores a blob, overwriting any existing blob with the same key. -
get
Description copied from interface:BlobStoreRetrieves a blob by key. -
list
Description copied from interface:BlobStoreLists all blob keys that start with the given prefix. -
delete
Description copied from interface:BlobStoreDeletes a blob by key.
-