*/
private ExoCache<Serializable, Object> create(ExoCacheConfig config, Cache<Serializable, Object> cache,
int maxNodes, long minTimeToLive, long expirationTimeout) throws ExoCacheInitException
{
final Configuration configuration = cache.getConfiguration();
final ExpirationAlgorithmConfig ea = new ExpirationAlgorithmConfig();
ea.setMaxNodes(maxNodes);
ea.setMinTimeToLive(minTimeToLive);
ea.setExpirationKeyName(ExpirationAlgorithmConfig.EXPIRATION_KEY);
// Create an eviction region config
final EvictionRegionConfig erc = new EvictionRegionConfig(Fqn.ROOT, ea);
final EvictionConfig evictionConfig = configuration.getEvictionConfig();
evictionConfig.setDefaultEvictionRegionConfig(erc);