cacheStoreConfig.setLockAcquistionTimeout(lockAcquistionTimeout);
return cacheStoreConfig;
}
JdbcStringBasedCacheStoreConfig getStringCacheStoreConfig() {
JdbcStringBasedCacheStoreConfig config = new JdbcStringBasedCacheStoreConfig(false);
config.setTableManipulation(stringsTableManipulation);
config.setPurgeSynchronously(true); //just to make sure we don't create another thread
config.setLockConcurrencyLevel(stringsConcurrencyLevel);
config.setLockAcquistionTimeout(lockAcquistionTimeout);
if (key2StringMapper != null) config.setKey2StringMapperClass(key2StringMapper);
return config;
}