command = returnValue;
break;
}
case MoveCommand.METHOD_ID:
{
MoveCommand returnValue = new PessMoveCommand();
returnValue.initialize(notifier, dataContainer);
command = returnValue;
break;
}
case PutDataMapCommand.METHOD_ID:
case PutDataMapCommand.ERASE_METHOD_ID:
case PutDataMapCommand.ERASE_VERSIONED_METHOD_ID:
case PutDataMapCommand.VERSIONED_METHOD_ID:
{
PutDataMapCommand returnValue = new PessPutDataMapCommand();
returnValue.initialize(notifier, dataContainer);
command = returnValue;
break;
}
case PutKeyValueCommand.METHOD_ID:
case PutKeyValueCommand.VERSIONED_METHOD_ID:
{
PutKeyValueCommand returnValue = new PessPutKeyValueCommand();
returnValue.initialize(notifier, dataContainer);
command = returnValue;
break;
}
case PutForExternalReadCommand.METHOD_ID:
case PutForExternalReadCommand.VERSIONED_METHOD_ID:
{
PutForExternalReadCommand returnValue = new PessPutForExternalReadCommand();
returnValue.initialize(notifier, dataContainer);
command = returnValue;
break;
}
case ClearDataCommand.METHOD_ID:
case ClearDataCommand.VERSIONED_METHOD_ID:
{
ClearDataCommand returnValue = new PessClearDataCommand();
returnValue.initialize(notifier, dataContainer);
command = returnValue;
break;
}
case RemoveKeyCommand.METHOD_ID:
case RemoveKeyCommand.VERSIONED_METHOD_ID:
{
RemoveKeyCommand returnValue = new PessRemoveKeyCommand();
returnValue.initialize(notifier, dataContainer);
command = returnValue;
break;
}
case RemoveNodeCommand.METHOD_ID:
case RemoveNodeCommand.VERSIONED_METHOD_ID:
{
RemoveNodeCommand returnValue = new PessRemoveNodeCommand();
returnValue.initialize(notifier, dataContainer);
command = returnValue;
break;
}
case InvalidateCommand.METHOD_ID:
{
InvalidateCommand returnValue = new InvalidateCommand(null);
returnValue.initialize(cacheSpi, dataContainer, notifier);
command = returnValue;
break;
}
default:
// pass up to superclass