update worker group

This commit is contained in:
baoliang 2019-04-23 15:26:50 +08:00
parent 69bb7c749e
commit ac3cedc277

View File

@ -95,6 +95,11 @@ public class ErrorCommand {
*/
private String message;
/**
* worker group id
*/
private int workerGroupId;
public ErrorCommand(Command command, String message){
this.commandType = command.getCommandType();
@ -245,6 +250,14 @@ public class ErrorCommand {
this.updateTime = updateTime;
}
public int getWorkerGroupId() {
return workerGroupId;
}
public void setWorkerGroupId(int workerGroupId) {
this.workerGroupId = workerGroupId;
}
@Override
public String toString() {
return "Command{" +
@ -272,4 +285,6 @@ public class ErrorCommand {
public void setMessage(String message) {
this.message = message;
}
}