public class ConcurrentHashMapStorageProvider extends Object implements MapStorageProvider
Constructor and Description |
---|
ConcurrentHashMapStorageProvider(ConcurrentHashMapStorageProviderFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
<K,V extends AbstractEntity<K>,M> |
getStorage(Class<V> valueType,
Class<M> modelType,
MapStorageProviderFactory.Flag... flags)
Returns a key-value storage implementation for the particular types.
|
public ConcurrentHashMapStorageProvider(ConcurrentHashMapStorageProviderFactory factory)
public <K,V extends AbstractEntity<K>,M> ConcurrentHashMapStorage<K,V,M> getStorage(Class<V> valueType, Class<M> modelType, MapStorageProviderFactory.Flag... flags)
MapStorageProvider
getStorage
in interface MapStorageProvider
K
- type of the primary keyV
- type of the valueCopyright © 2021 JBoss by Red Hat. All rights reserved.