assertEquals(1000, c.expiration().maxIdle());
assertEquals(EvictionThreadPolicy.PIGGYBACK, c.eviction().threadPolicy());
assertEquals(500, c.expiration().wakeUpInterval());
c = cm.getCacheConfiguration("withDeadlockDetection");
assertTrue(c.deadlockDetection().enabled());
assertEquals(1221, c.deadlockDetection().spinDuration());
assertEquals(CacheMode.DIST_SYNC, c.clustering().cacheMode());
c = cm.getCacheConfiguration("storeKeyValueBinary");
assertTrue(c.storeAsBinary().enabled());