Interface AgentGridComponent

All Superinterfaces:
AdminAware, DiscoverableComponent, GridComponent, MachineAware, OperatingSystemAware, TransportAware, VirtualMachineAware, ZoneAware
All Known Subinterfaces:
GridServiceContainer, GridServiceManager, InternalAgentGridComponent, InternalGridServiceContainer, InternalGridServiceManager, InternalLookupService, LookupService
All Known Implementing Classes:
AbstractAgentGridComponent, DefaultGridServiceContainer, DefaultGridServiceManager, DefaultLookupService

public interface AgentGridComponent extends GridComponent
An Agent grid component is a GridComponent that can be started by a GridServiceAgent.
Author:
kimchy
  • Method Details

    • getGridServiceAgent

      GridServiceAgent getGridServiceAgent()
      Returns the GridServiceAgent that started the grid component.
    • getAgentId

      int getAgentId()
      Returns the agent id of the component.
    • kill

      void kill()
      Kills the grid component. The Grid Service Agent will not try to start it (as it does when abnormal termination of the component occurs).
    • restart

      void restart()
      Restarts the grid component. Completely killing the process of the component, and then starting it again.