public interface MicroStreamRestService
Modifier and Type | Method and Description |
---|---|
one.microstream.storage.restadapter.types.StorageRestAdapter |
getAdapter(java.lang.String name)
Get the single adapter for a given storage name.
|
java.util.Optional<one.microstream.storage.restadapter.types.StorageRestAdapter> |
singleAdapter()
Returns a single adaptor if only one is available.
|
@NonNull one.microstream.storage.restadapter.types.StorageRestAdapter getAdapter(@NonNull java.lang.String name)
name
- the storage name@NonNull java.util.Optional<one.microstream.storage.restadapter.types.StorageRestAdapter> singleAdapter()