public interface MapStorageProvider extends Provider
| Modifier and Type | Method and Description |
|---|---|
<V extends AbstractEntity,M> |
getStorage(Class<M> modelType,
MapStorageProviderFactory.Flag... flags)
Returns a key-value storage implementation for the given types.
|
<V extends AbstractEntity,M> MapStorage<V,M> getStorage(Class<M> modelType, MapStorageProviderFactory.Flag... flags)
V - type of the valueM - type of the corresponding model (e.g. UserModel)modelType - Model typeflags - Flags of the returned storage. Best effort, flags may be not honored by underlying implementationIllegalArgumentException - If some of the types is not supported by the underlying implementation.Copyright © 2021 JBoss by Red Hat. All rights reserved.