private static <K,V>CacheConfiguration<K,V> cacheConfiguration(String name){
  CacheConfiguration<K,V> ccfg=new CacheConfiguration<>(name);
  ccfg.setAffinity(new RendezvousAffinityFunction(false,32));
  ccfg.setStartSize(100);
  ccfg.setStatisticsEnabled(true);
  return ccfg;
}

private static < K , V > CacheConfiguration < K , V > cacheConfiguration ( String name ) { CacheConfiguration < K , V > ccfg = new CacheConfiguration < > ( name ) ; ccfg . setAffinity ( new RendezvousAffinityFunction ( false , 32 ) ) ; ccfg . setStartSize ( 100 ) ; ccfg . setStatisticsEnabled ( true ) ; return ccfg ; }
create base cache configuration .
