[NO ISSUE][HYR][UTIL] += Span.ELAPSED; misc cleanup

Change-Id: Idcf079dd62fd77d0823ccdae4e3961af255f67bb
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/9423
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <mblow@apache.org>
Reviewed-by: Till Westmann <tillw@apache.org>
diff --git a/hyracks-fullstack/hyracks/hyracks-util/src/main/java/org/apache/hyracks/util/Span.java b/hyracks-fullstack/hyracks/hyracks-util/src/main/java/org/apache/hyracks/util/Span.java
index a9d8ec8..dc8bc11 100644
--- a/hyracks-fullstack/hyracks/hyracks-util/src/main/java/org/apache/hyracks/util/Span.java
+++ b/hyracks-fullstack/hyracks/hyracks-util/src/main/java/org/apache/hyracks/util/Span.java
@@ -70,21 +70,13 @@
         }
 
         @Override
-        public void loopUntilExhausted(ThrowingAction action) throws Exception {
-            super.loopUntilExhausted(action);
-        }
-
-        @Override
-        public void loopUntilExhausted(ThrowingAction action, long delay, TimeUnit delayUnit) throws Exception {
-            super.loopUntilExhausted(action, delay, delayUnit);
-        }
-
-        @Override
         public String toString() {
-            return "<INFINITY>";
+            return "<INFINITE>";
         }
     };
 
+    public static final Span ELAPSED = start(0, TimeUnit.NANOSECONDS);
+
     private final long spanNanos;
     private volatile long startNanos;