File tree 1 file changed +0
-13
lines changed
java/server/src/org/openqa/selenium/grid/data
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ public class NodeStatus {
45
45
private final Duration heartbeatPeriod ;
46
46
private final String version ;
47
47
private final Map <String , String > osInfo ;
48
- private long touched = System .currentTimeMillis ();
49
48
50
49
public NodeStatus (
51
50
NodeId nodeId ,
@@ -177,14 +176,6 @@ public Map<String, String> getOsInfo() {
177
176
return osInfo ;
178
177
}
179
178
180
- public long getTouched () {
181
- return touched ;
182
- }
183
-
184
- public void setTouched (long touched ) {
185
- this .touched = touched ;
186
- }
187
-
188
179
public float getLoad () {
189
180
float inUse = slots .parallelStream ()
190
181
.filter (slot -> slot .getSession () != null )
@@ -201,10 +192,6 @@ public long getLastSessionCreated() {
201
192
.orElse (0 );
202
193
}
203
194
204
- public void touch () {
205
- touched = System .currentTimeMillis ();
206
- }
207
-
208
195
@ Override
209
196
public boolean equals (Object o ) {
210
197
if (!(o instanceof NodeStatus )) {
You can’t perform that action at this time.
0 commit comments