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 Counted
Counts the calls of this method, and separately the calls that threw.
Methods
public abstract String value() default "" | The metric’s name. |
public abstract String description() default "" | What it counts, for the listing. |
Method details
value
public abstract String value() default ""The metric’s name. Empty means the class and method, such as
com.example.Orders.place.calls.description
public abstract String description() default ""What it counts, for the listing.