com.hazelcast.map.impl.mapstore
Interface MapStoreContext


public interface MapStoreContext

A context which provides/initializes map store specific functionality.

Specifically,

  • creates map store implementation from map store configuration.
  • creates map store manager according to write-behind or write-through store configuration
  • loads initial keys if a loader defined.

  • Method Summary
     ILogger getLogger(Class clazz)
               
     String getMapName()
               
     MapServiceContext getMapServiceContext()
               
     MapStoreConfig getMapStoreConfig()
               
     MapStoreManager getMapStoreManager()
               
     MapStoreWrapper getMapStoreWrapper()
               
     SerializationService getSerializationService()
               
     boolean isMapLoader()
               
     boolean isWriteBehindMapStoreEnabled()
               
     Iterable<Object> loadAllKeys()
               
     void start()
               
     void stop()
               
     

    Method Detail

    start

    void start()

    stop

    void stop()

    getMapStoreManager

    MapStoreManager getMapStoreManager()

    getMapStoreWrapper

    MapStoreWrapper getMapStoreWrapper()

    isWriteBehindMapStoreEnabled

    boolean isWriteBehindMapStoreEnabled()

    getSerializationService

    SerializationService getSerializationService()

    getLogger

    ILogger getLogger(Class clazz)

    getMapName

    String getMapName()

    getMapServiceContext

    MapServiceContext getMapServiceContext()

    getMapStoreConfig

    MapStoreConfig getMapStoreConfig()

    loadAllKeys

    Iterable<Object> loadAllKeys()

    isMapLoader

    boolean isMapLoader()
    Returns:
    true if MapLoader or MapStore is defined


    Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.