Interface InternalGridServiceAgent
- All Superinterfaces:
AdminAware, DiscoverableComponent, DumpProvider, GridComponent, GridServiceAgent, InternalDiscoverableComponent, InternalGridComponent, InternalMachineAware, InternalOperatingSystemAware, InternalOperatingSystemInfoProvider, InternalTransportAware, InternalTransportInfoProvider, InternalVirtualMachineAware, InternalVirtualMachineInfoProvider, InternalZoneAware, LogProviderGridComponent, MachineAware, MetricProvider, OperatingSystemAware, TransportAware, VirtualMachineAware, ZoneAware
- All Known Implementing Classes:
DefaultGridServiceAgent
- Author:
- kimchy
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAgentGridComponent(InternalAgentGridComponent agentGridComponent) Invoked to mark a child grid component as added to lookup servicevoiddeleteTieredStorageSpaceData(String spaceName) Deletes persistent data of a given tiered storage spacecom.gigaspaces.grid.gsa.GSAgetGSA()voidkill(InternalAgentGridComponent agentGridComponent) voidremoveAgentGridComponent(InternalAgentGridComponent agentGridComponent) Invoked to mark a child grid component as removed from lookup servicevoidrestart(InternalAgentGridComponent agentGridComponent) voidsetProcessesDetails(com.gigaspaces.grid.gsa.AgentProcessesDetails processesDetails) Methods inherited from interface AdminAware
getAdminMethods inherited from interface DiscoverableComponent
isDiscoveredMethods inherited from interface DumpProvider
generateDump, generateDumpMethods inherited from interface GridComponent
getUidMethods inherited from interface GridServiceAgent
allLogEntries, getExactZones, getGridServiceContainers, getGridServiceManagers, getLookupServices, getProcessesDetails, killByAgentId, liveLogEntries, logEntries, shutdown, startGridService, startGridService, startGridService, startGridService, startGridServiceAndWait, startGridServiceAndWait, startGridServiceAndWait, startGridServiceAndWait, startGridServiceAndWait, startGridServiceAndWaitMethods inherited from interface InternalDiscoverableComponent
setDiscoveredMethods inherited from interface InternalMachineAware
setMachineMethods inherited from interface InternalOperatingSystemAware
setOperatingSystemMethods inherited from interface InternalOperatingSystemInfoProvider
getCurrentTimeInMillis, getOSDetails, getOSStatisticsMethods inherited from interface InternalTransportAware
setTransportMethods inherited from interface InternalTransportInfoProvider
disableLRMIMonitoring, enableLRMIMonitoring, fetchLRMIMonitoringDetails, getNIODetails, getNIOStatisticsMethods inherited from interface InternalVirtualMachineAware
setVirtualMachineMethods inherited from interface InternalVirtualMachineInfoProvider
getJVMDetails, getJVMStatistics, getUid, runGcMethods inherited from interface InternalZoneAware
addZoneMethods inherited from interface LogProviderGridComponent
logEntries, logEntriesDirectMethods inherited from interface MachineAware
getMachineMethods inherited from interface MetricProvider
reloadMetricConfigurationMethods inherited from interface OperatingSystemAware
getOperatingSystemMethods inherited from interface TransportAware
getTransportMethods inherited from interface VirtualMachineAware
getVirtualMachine
-
Method Details
-
getServiceID
ServiceID getServiceID() -
getGSA
com.gigaspaces.grid.gsa.GSA getGSA() -
setProcessesDetails
void setProcessesDetails(com.gigaspaces.grid.gsa.AgentProcessesDetails processesDetails) -
kill
-
restart
-
addAgentGridComponent
Invoked to mark a child grid component as added to lookup service- Since:
- 9.0.1
-
removeAgentGridComponent
Invoked to mark a child grid component as removed from lookup service- Since:
- 9.0.1
-
getUnconfirmedRemovedAgentGridComponents
InternalAgentGridComponent[] getUnconfirmedRemovedAgentGridComponents()- Returns:
- all child grid components marked as removed from lookup service, but are still managed by this agent This is a temporary condition that could happen if the grid component is experiencing GC or has other delays updating the lookup lease.
- Since:
- 9.0.1
-
getReservationId
GSAReservationId getReservationId()- Returns:
- The identifies the request to start this grid service agent Used to correlate request to start a new agent with this agent. The agent reservation id can be set by the "com.gs.agent.reservationid" GSA system property, or by setting the GSA_RESERVATION_ID environment variable.
- Since:
- 9.1.1
-
deleteTieredStorageSpaceData
Deletes persistent data of a given tiered storage space- Since:
- 16.0.0
-