public IdentifiedDataSerializable create(int typeId) {
switch (typeId) {
case AWAIT_OPERATION:
return new AwaitOperation();
case COUNT_DOWN_LATCH_BACKUP_OPERATION:
return new CountDownLatchBackupOperation();
case COUNT_DOWN_LATCH_REPLICATION_OPERATION:
return new CountDownLatchReplicationOperation();
case COUNT_DOWN_OPERATION:
return new CountDownOperation();
case GET_COUNT_OPERATION: