break;
}
case CUSTOMIZED: {
CustomModeISBuilder builder = new CustomModeISBuilder(resourceName);
builder.setStateModel("MasterSlave").setNumPartitions(2).setNumReplica(2);
builder
.assignInstanceAndState(buildPartitionName(resourceName, 0), "localhost_12918", "MASTER")
.assignInstanceAndState(buildPartitionName(resourceName, 0), "localhost_12919", "SLAVE")
.assignInstanceAndState(buildPartitionName(resourceName, 1), "localhost_12918", "SLAVE")
.assignInstanceAndState(buildPartitionName(resourceName, 1), "localhost_12919", "MASTER");
idealState = builder.build();