Interface IHazelcastInstanceLoader


public interface IHazelcastInstanceLoader
Factory interface to build Hazelcast instances and configure them depending on configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Applies a set of properties to the factory
    com.hazelcast.core.HazelcastInstance
    Create a new HazelcastInstance or loads an already existing instances by it's name.
    void
    Tries to shutdown a HazelcastInstance
  • Method Details

    • configure

      void configure(Properties props)
      Applies a set of properties to the factory
      Parameters:
      props - properties to apply
    • loadInstance

      com.hazelcast.core.HazelcastInstance loadInstance() throws org.hibernate.cache.CacheException
      Create a new HazelcastInstance or loads an already existing instances by it's name.
      Returns:
      new or existing HazelcastInstance (either client or node mode)
      Throws:
      org.hibernate.cache.CacheException - all exceptions wrapped to CacheException
    • unloadInstance

      void unloadInstance() throws org.hibernate.cache.CacheException
      Tries to shutdown a HazelcastInstance
      Throws:
      org.hibernate.cache.CacheException - all exceptions wrapped to CacheException