Overview | Package | Class | Tree | Deprecated | Index | Help
| JProfiler API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.jprofiler.api.agent.probe
Class Unit

    java.lang.Object
      com.jprofiler.api.agent.probe.Unit

    public class Unit

extends java.lang.Object

Defines the unit that is displays in a particular custom telemetry.

See Also:
  `ProbeMetaData.addCustomTelemetry(String, Unit, float)`

Field Summary
`static Unit` | `BYTES` The telemetry data contains bytes.
`static Unit` | `MICROSECONDS` The telemetry data contains microseconds.
`static Unit` | `PERCENT` The telemetry contains percent values between 0 and 100.
`static Unit` | `PLAIN` The telemetry data contains natural numbers without a unit.

Method Summary
`java.lang.String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### PLAIN

    public static final Unit PLAIN

  The telemetry data contains natural numbers without a unit.

### PERCENT

    public static final Unit PERCENT

  The telemetry contains percent values between 0 and 100.

### BYTES

    public static final Unit BYTES

  The telemetry data contains bytes.

### MICROSECONDS

    public static final Unit MICROSECONDS

  The telemetry data contains microseconds.

Method Detail

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

Overview | Package | Class | Tree | Deprecated | Index | Help
| JProfiler API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD