org.keycloak.models.map.storage

## Interface MapStorageProvider

- All Superinterfaces:
    Provider, ProviderFactory<MapStorageProvider>
  All Known Implementing Classes:
    ConcurrentHashMapStorageProvider

      public interface MapStorageProvider
      extends Provider, ProviderFactory<MapStorageProvider>

  Author:
    hmlnarik

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `MapStorageProvider.Flag`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `<K,V extends AbstractEntity<K>> MapStorage<K,V>` | `getStorage(String name, Class<K> keyType, Class<V> valueType, MapStorageProvider.Flag... flags)` Returns a key-value storage

    - ### Methods inherited from interface org.keycloak.provider.Provider

      `close`

    - ### Methods inherited from interface org.keycloak.provider.ProviderFactory

      `close, create, getId, init, order, postInit`

- - ### Method Detail

    - #### getStorage

          <K,V extends AbstractEntity<K>> MapStorage<K,V> getStorage(String name,
                                                                     Class<K> keyType,
                                                                     Class<V> valueType,
                                                                     MapStorageProvider.Flag... flags)

      Returns a key-value storage
      Type Parameters:
        `K` - type of the primary key
        `V` - type of the value
      Parameters:
        `name` - Name of the storage
        `flags` -
      Returns:

Copyright © 2020 JBoss by Red Hat. All rights reserved.