GigaSpaces XAP 10.0.1 API

org.openspaces.admin
Interface AgentGridComponent

All Superinterfaces:
AdminAware, DiscoverableComponent, GridComponent, MachineAware, OperatingSystemAware, TransportAware, VirtualMachineAware, ZoneAware
All Known Subinterfaces:
ElasticServiceManager, GridServiceContainer, GridServiceManager, LookupService

public interface AgentGridComponent
extends GridComponent

An Agent grid component is a GridComponent that can be started by a GridServiceAgent.

Author:
kimchy

Method Summary
 int getAgentId()
          Returns the agent id of the component.
 GridServiceAgent getGridServiceAgent()
          Returns the GridServiceAgent that started the grid component.
 void kill()
          Kills the grid component.
 void restart()
          Restarts the grid component.
 
Methods inherited from interface org.openspaces.admin.GridComponent
getUid
 
Methods inherited from interface org.openspaces.admin.DiscoverableComponent
isDiscovered
 
Methods inherited from interface org.openspaces.admin.AdminAware
getAdmin
 
Methods inherited from interface org.openspaces.admin.machine.MachineAware
getMachine
 
Methods inherited from interface org.openspaces.admin.transport.TransportAware
getTransport
 
Methods inherited from interface org.openspaces.admin.os.OperatingSystemAware
getOperatingSystem
 
Methods inherited from interface org.openspaces.admin.vm.VirtualMachineAware
getVirtualMachine
 
Methods inherited from interface org.openspaces.admin.zone.ZoneAware
getZones
 

Method Detail

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.


GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.