Interface Task

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    UniverseTask

    interface Task
    extends java.io.Serializable

    Interface for processors which do some stuff via Hotspot Serviceability Agent API on Hotspot internals.

    Task implementations must be fully (including its fields) serializable. So if there is any field will not be serialized, it must be ignored or serialization logic must be customized. Please see http://www.oracle.com/technetwork/articles/java/javaserial-1536170.html for more details.

    See Also:
    Result
    • Method Detail

      • process

        Result process()
        Processes Task's own logic over Hotspot Serviceability Agent.
        Returns:
        the Result instance as result