here is a simple test code

CacheConfiguration cacheCfg = new CacheConfiguration<>(IG_P);
        cacheCfg.setBackups(1);
       
cacheCfg.setWriteSynchronizationMode(CacheWriteSynchronizationMode.PRIMARY_SYNC);
        logger.info("instance {}", cacheCfg.hashCode());

        cacheCfg = new CacheConfiguration<>(IG_T);
        cacheCfg.setBackups(1);
       
cacheCfg.setWriteSynchronizationMode(CacheWriteSynchronizationMode.PRIMARY_SYNC);
        logger.info("instance {}", cacheCfg.hashCode());


the log shows even I create CacheConfiguration two times, but they have the
same hashcode. is this correct?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to