}
private int addMemoryCluster(final String iClusterName) throws IOException {
lock.acquireExclusiveLock();
try {
final OClusterMemory cluster;
if (iClusterName != null) {
final OStorageMemoryClusterConfiguration config = new OStorageMemoryClusterConfiguration(iClusterName, clusters.length);
configuration.clusters.add(config);
cluster = new OClusterMemory(clusters.length, iClusterName);
} else
cluster = null;
final int id = registerCluster(cluster);