Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
@Retention(CLASS) @Target({METHOD})
public @interface ManagedAttribute
A getter of a ManagedResource bean published as a gauge.
The getter takes no arguments and returns a number – a primitive or its box – or a boolean, published as 0 or 1.
Methods
public abstract String description() default "" | What the value means, for the listing. |
public abstract String unit() default "" | The unit, in UCUM as OpenTelemetry expects – ms, By, {request}. |
Method details
description
public abstract String description() default ""What the value means, for the listing.
unit
public abstract String unit() default ""The unit, in UCUM as OpenTelemetry expects –
ms, By, {request}.