org.opensolaris.os.dtrace
Enum Drop.Kind

java.lang.Object
  extended by java.lang.Enum<Drop.Kind>
      extended by org.opensolaris.os.dtrace.Drop.Kind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Drop.Kind>
Enclosing class:
Drop

public static enum Drop.Kind
extends java.lang.Enum<Drop.Kind>

Indicates what kind of buffer space experienced the data drop (such as principal buffer or aggregation buffer) and possibly a reason.


Enum Constant Summary
AGGREGATION
          Drop to aggregation buffer
DBLERROR
          Error in ERROR probe
DYNAMIC
          Dynamic drop
DYNDIRTY
          Dynamic drop due to dirtiness
DYNRINSE
          Dynamic drop due to rinsing
PRINCIPAL
          Drop to principal buffer
SPEC
          Speculative drop
SPECBUSY
          Speculative drop due to business
SPECUNAVAIL
          Speculative drop due to unavailability
STKSTROVERFLOW
          Stack string table overflow
UNKNOWN
          Unrecognized value from native DTrace library
 
Method Summary
 java.lang.String toString()
          Overridden to get the default display value.
static Drop.Kind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Drop.Kind[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PRINCIPAL

public static final Drop.Kind PRINCIPAL
Drop to principal buffer


AGGREGATION

public static final Drop.Kind AGGREGATION
Drop to aggregation buffer


DYNAMIC

public static final Drop.Kind DYNAMIC
Dynamic drop


DYNRINSE

public static final Drop.Kind DYNRINSE
Dynamic drop due to rinsing


DYNDIRTY

public static final Drop.Kind DYNDIRTY
Dynamic drop due to dirtiness


SPEC

public static final Drop.Kind SPEC
Speculative drop


SPECBUSY

public static final Drop.Kind SPECBUSY
Speculative drop due to business


SPECUNAVAIL

public static final Drop.Kind SPECUNAVAIL
Speculative drop due to unavailability


STKSTROVERFLOW

public static final Drop.Kind STKSTROVERFLOW
Stack string table overflow


DBLERROR

public static final Drop.Kind DBLERROR
Error in ERROR probe


UNKNOWN

public static final Drop.Kind UNKNOWN
Unrecognized value from native DTrace library

Method Detail

values

public static Drop.Kind[] 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 (Drop.Kind c : Drop.Kind.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Drop.Kind 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

toString

public java.lang.String toString()
Overridden to get the default display value. To internationalize the display value, use Enum.name() instead as an I18N lookup key.

Overrides:
toString in class java.lang.Enum<Drop.Kind>