Interface Task

All Superinterfaces:
Serializable
All Known Implementing Classes:
UniverseTask

interface Task extends 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:
  • Method Summary

    Modifier and Type
    Method
    Description
    Processes Task's own logic over Hotspot Serviceability Agent.
  • Method Details

    • process

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