fluentEviction.wakeUpInterval(eviction.get(ModelKeys.INTERVAL).asLong());
}
}
if (cache.hasDefined(ModelKeys.EXPIRATION)) {
ModelNode expiration = cache.get(ModelKeys.EXPIRATION);
FluentConfiguration.ExpirationConfig fluentExpiration = fluent.expiration();
if (expiration.hasDefined(ModelKeys.MAX_IDLE)) {
fluentExpiration.maxIdle(expiration.get(ModelKeys.MAX_IDLE).asLong());
}
if (expiration.hasDefined(ModelKeys.LIFESPAN)) {
fluentExpiration.lifespan(expiration.get(ModelKeys.LIFESPAN).asLong());