if (locking.hasDefined(ModelKeys.CONCURRENCY_LEVEL)) {
fluentLocking.concurrencyLevel(locking.get(ModelKeys.CONCURRENCY_LEVEL).asInt());
}
}
FluentConfiguration.TransactionConfig fluentTx = fluent.transaction();
TransactionMode txMode = TransactionMode.NON_XA;
LockingMode lockingMode = LockingMode.OPTIMISTIC;
// locking is a child resource
if (cache.hasDefined(ModelKeys.SINGLETON) && cache.get(ModelKeys.SINGLETON, ModelKeys.TRANSACTION).isDefined()) {
ModelNode transaction = cache.get(ModelKeys.SINGLETON, ModelKeys.TRANSACTION);