Package org.openspaces.admin
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
An Agent grid component is a
GridComponent that can be started by a
GridServiceAgent.- Author:
- kimchy
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the agent id of the component.Returns theGridServiceAgentthat started the grid component.voidkill()Kills the grid component.voidrestart()Restarts the grid component.Methods inherited from interface org.openspaces.admin.AdminAware
getAdminMethods inherited from interface org.openspaces.admin.DiscoverableComponent
isDiscoveredMethods inherited from interface org.openspaces.admin.GridComponent
getUidMethods inherited from interface org.openspaces.admin.machine.MachineAware
getMachineMethods inherited from interface org.openspaces.admin.os.OperatingSystemAware
getOperatingSystemMethods inherited from interface org.openspaces.admin.transport.TransportAware
getTransportMethods inherited from interface org.openspaces.admin.vm.VirtualMachineAware
getVirtualMachine
-
Method Details
-
getGridServiceAgent
GridServiceAgent getGridServiceAgent()Returns theGridServiceAgentthat 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.
-