File tree 2 files changed +8
-8
lines changed
rasp/jvm/JVMProbe/src/main/java/com/security/smith
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1316,9 +1316,9 @@ public Heartbeat getHeartbeat() {
1316
1316
}
1317
1317
1318
1318
public void addDisacrdCount () {
1319
- int discrad_count = this .heartbeat .getDiscardCount ();
1319
+ int discrad_count = this .heartbeat .getDiscardSend ();
1320
1320
discrad_count ++;
1321
- this .heartbeat .setDiscardCount (discrad_count );
1321
+ this .heartbeat .setDiscardSend (discrad_count );
1322
1322
}
1323
1323
1324
1324
public Map <Pair <Integer , Integer >, Integer > getLimits () {
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public class Heartbeat {
12
12
private String patch ;
13
13
private String class_filter_version ;
14
14
private String switches ;
15
- private int discard_count ;
15
+ private int discard_send ;
16
16
17
17
public Heartbeat () {
18
18
filter = "" ;
@@ -21,7 +21,7 @@ public Heartbeat() {
21
21
patch = "" ;
22
22
class_filter_version = "" ;
23
23
switches = "" ;
24
- discard_count = 0 ;
24
+ discard_send = 0 ;
25
25
}
26
26
27
27
public String getFilter () {
@@ -72,12 +72,12 @@ public void setSwitches(String switches) {
72
72
this .switches = switches ;
73
73
}
74
74
75
- public synchronized int getDiscardCount () {
76
- return discard_count ;
75
+ public synchronized int getDiscardSend () {
76
+ return discard_send ;
77
77
}
78
78
79
- public synchronized void setDiscardCount (int discard_count ) {
80
- this .discard_count = discard_count ;
79
+ public synchronized void setDiscardSend (int discard_send ) {
80
+ this .discard_send = discard_send ;
81
81
}
82
82
83
83
public static Heartbeat fromJson (String json ) {
You can’t perform that action at this time.
0 commit comments