Configuration.CacheMode mode = CacheMode.valueOf(cache.require(ModelKeys.MODE).asString());
requiresTransport |= mode.isClustered();
fluent.mode(mode);
if (cache.hasDefined(ModelKeys.BATCHING)) {
if (cache.get(ModelKeys.BATCHING).asBoolean()) {
fluent.invocationBatching();
}
}
if (cache.hasDefined(ModelKeys.INDEXING)) {
Indexing indexing = Indexing.valueOf(cache.get(ModelKeys.INDEXING).asString());
if (indexing.isEnabled()) {