Class InfinispanClusterManager

java.lang.Object
io.vertx.ext.cluster.infinispan.InfinispanClusterManager
All Implemented Interfaces:
ClusteredNode, ClusterManager, VertxServiceProvider

public class InfinispanClusterManager extends Object implements ClusterManager
Author:
Thomas Segismont
  • Constructor Details

    • InfinispanClusterManager

      public InfinispanClusterManager()
      Creates a new cluster manager configured with infinispan.xml and jgroups.xml files.
    • InfinispanClusterManager

      public InfinispanClusterManager(org.infinispan.manager.DefaultCacheManager cacheManager)
      Creates a new cluster manager with an existing DefaultCacheManager. It is your responsibility to start/stop the cache manager when the Vert.x instance joins/leaves the cluster.
      Parameters:
      cacheManager - the existing cache manager
  • Method Details