mirror of
https://gitee.com/arthas/arthas.git
synced 2024-12-02 20:28:05 +08:00
dashboard command delete unused -b option. fix #1074
This commit is contained in:
parent
16d96c9b0a
commit
91968f18ed
@ -58,8 +58,6 @@ public class DashboardCommand extends AnnotatedCommand {
|
|||||||
|
|
||||||
private int numOfExecutions = Integer.MAX_VALUE;
|
private int numOfExecutions = Integer.MAX_VALUE;
|
||||||
|
|
||||||
private boolean batchMode;
|
|
||||||
|
|
||||||
private long interval = 5000;
|
private long interval = 5000;
|
||||||
|
|
||||||
private volatile long count = 0;
|
private volatile long count = 0;
|
||||||
@ -71,12 +69,6 @@ public class DashboardCommand extends AnnotatedCommand {
|
|||||||
this.numOfExecutions = numOfExecutions;
|
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")
|
@Option(shortName = "i", longName = "interval")
|
||||||
@Description("The interval (in ms) between two executions, default is 5000 ms.")
|
@Description("The interval (in ms) between two executions, default is 5000 ms.")
|
||||||
public void setInterval(long interval) {
|
public void setInterval(long interval) {
|
||||||
@ -140,10 +132,6 @@ public class DashboardCommand extends AnnotatedCommand {
|
|||||||
return numOfExecutions;
|
return numOfExecutions;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isBatchMode() {
|
|
||||||
return batchMode;
|
|
||||||
}
|
|
||||||
|
|
||||||
public long getInterval() {
|
public long getInterval() {
|
||||||
return interval;
|
return interval;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user