cacheManager = TestCacheManagerFactory.createCacheManager(CacheMode.LOCAL, false);
LevelDBStoreConfigurationBuilder cfg = new LevelDBStoreConfigurationBuilder(lcb);
cfg.location(tmpDirectory + "/data");
cfg.expiredLocation(tmpDirectory + "/expiry");
cfg.clearThreshold(2);
return cfg.create();
}
@Override
protected StreamingMarshaller getMarshaller() {
return cacheManager.getCache().getAdvancedCache().getComponentRegistry().getCacheMarshaller();