org.apache.ode.agents.memory

## Class SizingAgent

- java.lang.Object
- - org.apache.ode.agents.memory.SizingAgent

-     public class SizingAgent
      extends java.lang.Object

  Class

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SizingAgent()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static long` | `deepSizeOf(java.lang.Object obj)` Returns deep size of object, recursively iterating over its fields and superclasses.
    `static void` | `main(java.lang.String[] args)` $method$
    `static void` | `premain(java.lang.String options, java.lang.instrument.Instrumentation instrumentation)` $method$
    `static long` | `sizeOf(java.lang.Object obj)` Returns object size.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SizingAgent

          public SizingAgent()

  - ### Method Detail

    - #### premain

          public static void premain(java.lang.String options,
                     java.lang.instrument.Instrumentation instrumentation)

      $method$
      Parameters:
        `options` - options
        `instrumentation` - instrumentation

    - #### main

          public static void main(java.lang.String[] args)

      $method$
      Parameters:
        `args` - args

    - #### sizeOf

          public static long sizeOf(java.lang.Object obj)

      Returns object size.

    - #### deepSizeOf

          public static long deepSizeOf(java.lang.Object obj)

      Returns deep size of object, recursively iterating over its fields and superclasses.