Interface InitializationContext

    • Method Detail

      • getCache

        Cache getCache()
      • getKeyPartitioner

        KeyPartitioner getKeyPartitioner()
        The configured partitioner that can be used to determine which segment a given key belongs to. This is useful when a store is segmented (ie. implements SegmentedAdvancedLoadWriteStore).
        Returns:
        partitioner that can provide what segment a key maps to
      • getTimeService

        org.infinispan.commons.time.TimeService getTimeService()
      • getExecutor

        java.util.concurrent.ExecutorService getExecutor()
        Returns the preferred executor to be used by stores if needed. Stores normally shouldn't need this unless they *must* perform some blocking code asynchronously.
        Returns:
        the executor to be used with stores
      • getPersistenceMarshaller

        PersistenceMarshaller getPersistenceMarshaller()
        Returns the persistence marshaller which should be used to marshall/unmarshall all stored bytes.
      • getGlobalConfiguration

        GlobalConfiguration getGlobalConfiguration()
        Returns the global configuration