vertx / io.vertx.ext.cluster.infinispan / InfinispanClusterManager / <init>

# <init>

`InfinispanClusterManager()`

Creates a new cluster manager configured with `infinispan.xml` and `jgroups.xml` files.

`InfinispanClusterManager(cacheManager: DefaultCacheManager)`

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