}
}
private StoreConfigurationBuilder<?, ?> buildCacheLoader(PersistenceConfigurationBuilder persistenceBuilder, ModelNode loader, String loaderKey) throws OperationFailedException {
if (loaderKey.equals(ModelKeys.CLUSTER_LOADER)) {
final ClusterLoaderConfigurationBuilder builder = persistenceBuilder.addClusterLoader();
if (loader.hasDefined(ModelKeys.REMOTE_TIMEOUT)) {
builder.remoteCallTimeout(loader.require(ModelKeys.REMOTE_TIMEOUT).asLong());
}
return builder;
} else if (loaderKey.equals(ModelKeys.LOADER)) {
String className = loader.require(ModelKeys.CLASS).asString();
try {