Enum OracleTraceKey

    • Method Detail

      • values

        public static OracleTraceKey[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (OracleTraceKey c : OracleTraceKey.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OracleTraceKey valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • index

        public int index()
        Description copied from interface: TraceKey
        Return a unique invariant int for each object that implements this interface. No two objects implementing this interface can return the same value. Further the values should be compact, that is the returned value must be the least value such that at the time the object is created no other object has that value. Best practice is to set the index to the result of TraceKey.nextIndex().
        Specified by:
        index in interface TraceKey
        Returns:
        a unique invariant index
      • keyName

        public java.lang.String keyName()
        Specified by:
        keyName in interface TraceKey
      • namespace

        public java.lang.String namespace()
        Specified by:
        namespace in interface TraceKey