Class JpaMapStorageProvider

All Implemented Interfaces:
MapStorageProvider, Provider

public class JpaMapStorageProvider extends Object implements MapStorageProvider
  • Constructor Details

  • Method Details

    • close

      public void close()
      Specified by:
      close in interface Provider
    • getMapStorage

      public <V extends AbstractEntity, M> MapStorage<V,M> getMapStorage(Class<M> modelType, MapStorageProviderFactory.Flag... flags)
      Description copied from interface: MapStorageProvider
      Returns a key-value storage implementation for the given types.
      Specified by:
      getMapStorage in interface MapStorageProvider
      Type Parameters:
      V - type of the value
      M - type of the corresponding model (e.g. UserModel)
      modelType - Model type
      flags - Flags of the returned storage. Best effort, flags may be not honored by underlying implementation