aboutsummaryrefslogtreecommitdiffstats
path: root/vdslib/src/main
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahooinc.com>2022-06-07 12:39:52 +0000
committergjoranv <gv@verizonmedia.com>2022-06-08 11:45:31 +0200
commit8822bf13ddb2ad2c226a8d812efbe08c54d092a2 (patch)
tree225e34caf3a6a9c8ee223967003190a0289c0185 /vdslib/src/main
parent86deaa8e3085dd377755684c943c5c88cb7009e2 (diff)
cleanup unused second pass stats
Diffstat (limited to 'vdslib/src/main')
-rw-r--r--vdslib/src/main/java/com/yahoo/vdslib/VisitorStatistics.java30
1 files changed, 1 insertions, 29 deletions
diff --git a/vdslib/src/main/java/com/yahoo/vdslib/VisitorStatistics.java b/vdslib/src/main/java/com/yahoo/vdslib/VisitorStatistics.java
index a79f3d5fb6d..fda456ace05 100644
--- a/vdslib/src/main/java/com/yahoo/vdslib/VisitorStatistics.java
+++ b/vdslib/src/main/java/com/yahoo/vdslib/VisitorStatistics.java
@@ -7,8 +7,6 @@ public class VisitorStatistics {
long bytesVisited = 0;
long documentsReturned = 0;
long bytesReturned = 0;
- long secondPassDocumentsReturned = 0;
- long secondPassBytesReturned = 0;
public void add(VisitorStatistics other) {
bucketsVisited += other.bucketsVisited;
@@ -16,8 +14,6 @@ public class VisitorStatistics {
bytesVisited += other.bytesVisited;
documentsReturned += other.documentsReturned;
bytesReturned += other.bytesReturned;
- secondPassDocumentsReturned += other.secondPassDocumentsReturned;
- secondPassBytesReturned += other.secondPassBytesReturned;
}
public int getBucketsVisited() { return bucketsVisited; }
@@ -44,37 +40,13 @@ public class VisitorStatistics {
public long getBytesReturned() { return bytesReturned; }
public void setBytesReturned(long bytesReturned) { this.bytesReturned = bytesReturned; }
- /**
- * @deprecated Use getDocumentsReturned() instead
- */
- @Deprecated(since = "7", forRemoval = true) // TODO: Vespa 8: remove
- public long getSecondPassDocumentsReturned() { return secondPassDocumentsReturned; }
- /**
- * @deprecated only applies for deprecated "orderdoc" ID scheme
- */
- @Deprecated(since = "7", forRemoval = true)// TODO: Vespa 8: remove
- public void setSecondPassDocumentsReturned(long secondPassDocumentsReturned) { this.secondPassDocumentsReturned = secondPassDocumentsReturned; }
-
- /**
- * @deprecated Use getBytesReturned() instead
- */
- @Deprecated(since = "7", forRemoval = true) // TODO: Vespa 8: remove
- public long getSecondPassBytesReturned() { return secondPassBytesReturned; }
- /**
- * @deprecated only applies for deprecated "orderdoc" ID scheme
- */
- @Deprecated(since = "7", forRemoval = true) // TODO: Vespa 8: remove
- public void setSecondPassBytesReturned(long secondPassBytesReturned) { this.secondPassBytesReturned = secondPassBytesReturned; }
-
public String toString() {
String out =
"Buckets visited: " + bucketsVisited + "\n" +
"Documents visited: " + documentsVisited + "\n" +
"Bytes visited: " + bytesVisited + "\n" +
"Documents returned: " + documentsReturned + "\n" +
- "Bytes returned: " + bytesReturned + "\n" +
- "Documents returned (2nd pass): " + secondPassDocumentsReturned + "\n" +
- "Bytes returned (2nd pass): " + secondPassBytesReturned + "\n";
+ "Bytes returned: " + bytesReturned + "\n";
return out;
}