Annotation Interface StatisticsGroup


@Retention(RUNTIME) @Target(TYPE) public @interface StatisticsGroup
Marks a group of public statistics of an application, a class implementing Statistics: SmartGears finds every such class of the application, computes each group on its own schedule and serves the last results without a token at /smartgears/<application>/statistics.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Where the group comes among the groups of the application: the groups are given by their order, then by their identifier.
  • Element Details

    • order

      int order
      Where the group comes among the groups of the application: the groups are given by their order, then by their identifier.
      Returns:
      the order, 0 unless the group says otherwise
      Default:
      0