diff --git a/core/src/main/java/com/taobao/arthas/core/command/monitor200/DashboardCommand.java b/core/src/main/java/com/taobao/arthas/core/command/monitor200/DashboardCommand.java index 70e3fd9e..1733f3a2 100644 --- a/core/src/main/java/com/taobao/arthas/core/command/monitor200/DashboardCommand.java +++ b/core/src/main/java/com/taobao/arthas/core/command/monitor200/DashboardCommand.java @@ -58,8 +58,6 @@ public class DashboardCommand extends AnnotatedCommand { private int numOfExecutions = Integer.MAX_VALUE; - private boolean batchMode; - private long interval = 5000; private volatile long count = 0; @@ -71,12 +69,6 @@ public class DashboardCommand extends AnnotatedCommand { this.numOfExecutions = numOfExecutions; } - @Option(shortName = "b", longName = "batch") - @Description("Execute this command in batch mode.") - public void setBatchMode(boolean batchMode) { - this.batchMode = batchMode; - } - @Option(shortName = "i", longName = "interval") @Description("The interval (in ms) between two executions, default is 5000 ms.") public void setInterval(long interval) { @@ -140,10 +132,6 @@ public class DashboardCommand extends AnnotatedCommand { return numOfExecutions; } - public boolean isBatchMode() { - return batchMode; - } - public long getInterval() { return interval; }