GigaSpaces XAP 7.0 API

org.openspaces.admin
Interface AgentGridComponent

All Superinterfaces:
AdminAware, DiscoverableComponent, GridComponent, MachineAware, OperatingSystemAware, TransportAware, VirtualMachineAware, ZoneAware
All Known Subinterfaces:
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()
          Retruns 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()
Retruns 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 7.0 API

Copyright © GigaSpaces.