public static class CodahaleMetrics.CodahaleMetricsScope extends Object implements MetricsScope
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes scope, and records the time taken
|
void |
open()
Opens scope, and makes note of the time started, increments run counter
|
public void open() throws IOException
IOException
public void close() throws IOException
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.