|Modifier and Type||Method and Description|
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 value
M- type of the corresponding model (e.g.
modelType- Model type
flags- Flags of the returned storage. Best effort, flags may be not honored by underlying implementation
IllegalArgumentException- If some of the types is not supported by the underlying implementation.
Copyright © 2021 JBoss by Red Hat. All rights reserved.