public static class LegacyMetrics.LegacyMetricsScope extends Object implements MetricsScope
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes scope, and records the time taken
|
Long |
getNumCounter() |
Long |
getTimeCounter() |
void |
open()
Opens scope, and makes note of the time started, increments run counter
|
void |
reopen()
Closes scope if open, and reopens it
|
public Long getNumCounter()
public Long getTimeCounter()
public void open()
public void close()
public void reopen()
Copyright © 2022 The Apache Software Foundation. All rights reserved.