public void remove() { if (doTraceLogs) { logger.trace("remove()"); } clusteredCacheData.remove(); clusteredCacheData = null; resourceManagement.getSleeContainer().getCluster().removeFailOverListener(failOverListener); }
public void init() { if (doTraceLogs) { logger.trace("init()"); } // lets create this cluster member cache data object with failover final MobicentsCluster cluster = resourceManagement.getSleeContainer().getCluster(); clusteredCacheData = new ClusteredCacheData(baseFqn, cluster); clusteredCacheData.create(); cluster.addFailOverListener(failOverListener); }