We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
easy as intelliJ already recognize: https://github.com/quarkusio/quarkus/pull/45423/files
https://github.com/quarkusio/quarkus/blob/25e8bfd9d5c24e079111f5aaf874bda30d957a8f/extensions/smallrye-metrics/runtime/src/main/java/io/quarkus/smallrye/metrics/runtime/SmallRyeMetricsFactory.java#L200
tricky that can be done as well: https://github.com/quarkusio/quarkus/pull/45450/files
pojo:
private static class SmallRyeFunctionGauge<T, R extends Number> implements Gauge<R> { final T obj; final Function<T, R> f; SmallRyeFunctionGauge(T obj, Function<T, R> f) { this.obj = obj; this.f = f; } @Override public R getValue() { return f.apply(obj); } }
record:
private record SmallRyeFunctionGauge<T, R extends Number>(T obj, Function<T, R> f) implements Gauge<R> { @Override public R getValue() { return f.apply(obj); } }
The text was updated successfully, but these errors were encountered:
Hi @punkratz312 ; this appears to be a duplicate of this earlier issue
Feel free to chime in there!
Sorry, something went wrong.
No branches or pull requests
easy as intelliJ already recognize: https://github.com/quarkusio/quarkus/pull/45423/files
https://github.com/quarkusio/quarkus/blob/25e8bfd9d5c24e079111f5aaf874bda30d957a8f/extensions/smallrye-metrics/runtime/src/main/java/io/quarkus/smallrye/metrics/runtime/SmallRyeMetricsFactory.java#L200
tricky that can be done as well: https://github.com/quarkusio/quarkus/pull/45450/files
pojo:
record:
The text was updated successfully, but these errors were encountered: