Class ActionIdentifier


  • @Internal
    public class ActionIdentifier
    extends Object
    Unique identifier of an action or a call for which performance can be measured.
    • Constructor Detail

      • ActionIdentifier

        public ActionIdentifier​(@NotNull
                                @NotNull ActionType type,
                                @NotNull
                                @NotNull String name)
        Parameters:
        type - type of the action
        name - name of the action
    • Method Detail

      • fromKey

        public static ActionIdentifier fromKey​(@NotNull
                                               @NotNull String key)
        Parameters:
        key - unique key of this action identifier
        See Also:
        getKey()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getKey

        public String getKey()
        Retrieve an unique key for this action identifier.
      • getType

        @NotNull
        public @NotNull ActionType getType()
        Type of the action.
      • getName

        @NotNull
        public @NotNull String getName()
        Unique name of the action, to allow future identification.