storeA.get(TestUtils.toByteArray(i + "A"), null);
storeB.put(TestUtils.toByteArray(i + "B"), new Versioned<byte[]>(value), null);
storeB.get(TestUtils.toByteArray(i + "B"), null);
EnvironmentStats statsA = environmentA.getStats(new StatsConfig());
EnvironmentStats statsB = environmentB.getStats(new StatsConfig());
long totalCacheSize = statsA.getCacheTotalBytes() + statsB.getCacheTotalBytes();
System.out.println("A.size:" + statsA.getCacheTotalBytes() + " B.size:"
+ statsB.getCacheTotalBytes() + " total:" + totalCacheSize + " max:"
+ maxCacheUsage + " cacheMax:"
+ environmentA.getConfig().getCacheSize());
System.out.println("Shared.A:" + statsA.getSharedCacheTotalBytes() + " nSharedEnv:"
+ statsA.getNSharedCacheEnvironments());
maxCacheUsage = Math.max(maxCacheUsage, totalCacheSize);