Annotation Type Counted


@Retention(CLASS) @Target(METHOD) public @interface Counted
Counts the calls of this method, and separately the calls that threw.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    What it counts, for the listing.
    The metric's name.
  • Element Details

    • value

      String value
      The metric's name. Empty means the class and method, such as com.example.Orders.place.calls.
      Default:
      ""
    • description

      String description
      What it counts, for the listing.
      Default:
      ""