fluentTx.useEagerLocking(eager.isEnabled()).eagerLockSingleNode(eager.isSingleOwner());
}
}
if (cache.hasDefined(ModelKeys.EVICTION)) {
ModelNode eviction = cache.get(ModelKeys.EVICTION);
FluentConfiguration.EvictionConfig fluentEviction = fluent.eviction();
if (eviction.hasDefined(ModelKeys.STRATEGY)) {
fluentEviction.strategy(EvictionStrategy.valueOf(eviction.get(ModelKeys.STRATEGY).asString()));
}
if (eviction.hasDefined(ModelKeys.MAX_ENTRIES)) {
fluentEviction.maxEntries(eviction.get(ModelKeys.MAX_ENTRIES).asInt());