mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
Completed NB4 Pulsar driver code migration to NB5. But there are still a few lingering issues due to the difference of how NB4 vs NB5 driver/adapter interacts with the NB engine.
This commit is contained in:
@@ -194,11 +194,6 @@ public class ActivityMetrics {
|
||||
return (Counter) register(named, name, Counter::new);
|
||||
}
|
||||
|
||||
public static Counter counter(String fullName) {
|
||||
Counter counter = get().register(fullName, new Counter());
|
||||
return counter;
|
||||
}
|
||||
|
||||
/**
|
||||
* <p>Create a meter associated with an activity.</p>
|
||||
* <p>This method ensures that if multiple threads attempt to create the same-named metric on a given activity,
|
||||
@@ -229,10 +224,6 @@ public class ActivityMetrics {
|
||||
return (Gauge<T>) register(named, name, () -> gauge);
|
||||
}
|
||||
|
||||
public static <T> Gauge<T> gauge(String fullMetricsName, Gauge<T> gauge) {
|
||||
return (Gauge<T>) register(fullMetricsName, () -> gauge);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public static <T> Gauge<T> gauge(ScriptContext scriptContext, String name, Gauge<T> gauge) {
|
||||
return (Gauge<T>) register(scriptContext, name, () -> gauge);
|
||||
|
||||
Reference in New Issue
Block a user