public interface GridServiceAgent extends LogProviderGridComponent, DumpProvider, MetricProvider
GridServiceManager
, GridServiceContainer
and LookupService
. It can also globally manage certain process type (a process type
is a GSM for example), which means that when running X number of Grid Service Agents, at least N processes will
run between them.Modifier and Type | Method and Description |
---|---|
CompoundLogEntries |
allLogEntries(LogProcessType type,
LogEntryMatcher matcher)
Extracts all the log entries for the provided process type including both "live" runtime
components and ones that are no longer running.
|
ElasticServiceManagers |
getElasticServiceManagers() |
ExactZonesConfig |
getExactZones() |
GridServiceContainers |
getGridServiceContainers() |
GridServiceManagers |
getGridServiceManagers() |
LookupServices |
getLookupServices() |
com.gigaspaces.grid.gsa.AgentProcessesDetails |
getProcessesDetails()
Returns all the processes details this agent is currently running.
|
void |
killByAgentId(int agentId)
Kills a process based on the agent id provided to it.
|
CompoundLogEntries |
liveLogEntries(LogEntryMatcher matcher)
Extracts all the log entries of all the "live" runtime components that this agent is running
matching the given matcher.
|
LogEntries |
logEntries(LogProcessType type,
long pid,
LogEntryMatcher matcher)
Extract the log entries matching the provided matcher for the process type and process id.
|
void |
shutdown()
Shuts down the GSA.
|
void |
startGridService(ElasticServiceManagerOptions options)
Starts a
ElasticServiceManager based on the provided options. |
void |
startGridService(GridServiceContainerOptions options)
Starts a
GridServiceContainer based on the provided options. |
void |
startGridService(GridServiceManagerOptions options)
Starts a
GridServiceManager based on the provided options. |
int |
startGridService(GridServiceOptions options)
Starts a generic process of a given type.
|
void |
startGridService(LookupServiceOptions options)
Starts a
LookupService based on the provided options. |
ElasticServiceManager |
startGridServiceAndWait(ElasticServiceManagerOptions options)
Starts a
ElasticServiceManager based on the provided options and waits
indefinitely until it is discovered by the admin, which is then returned. |
ElasticServiceManager |
startGridServiceAndWait(ElasticServiceManagerOptions options,
long timeout,
TimeUnit timeUnit)
Starts a
ElasticServiceManager based on the provided options and waits
for the given timeout (in time unit) until it is discovered by the admin, which is then returned. |
GridServiceContainer |
startGridServiceAndWait(GridServiceContainerOptions options)
Starts a
GridServiceContainer based on the provided options and waits
indefinitely until it is discovered by the admin, which is then returned. |
GridServiceContainer |
startGridServiceAndWait(GridServiceContainerOptions options,
long timeout,
TimeUnit timeUnit)
Starts a
GridServiceContainer based on the provided options and waits
for the given timeout (in time unit) until it is discovered by the admin, which is then returned. |
GridServiceManager |
startGridServiceAndWait(GridServiceManagerOptions options)
Starts a
GridServiceManager based on the provided options and waits
indefinitely until it is discovered by the admin, which is then returned. |
GridServiceManager |
startGridServiceAndWait(GridServiceManagerOptions options,
long timeout,
TimeUnit timeUnit)
Starts a
GridServiceManager based on the provided options and waits
for the given timeout (in time unit) until it is discovered by the admin, which is then returned. |
LookupService |
startGridServiceAndWait(LookupServiceOptions options)
Starts a
LookupService based on the provided options and waits
indefinitely until it is discovered by the admin, which is then returned. |
LookupService |
startGridServiceAndWait(LookupServiceOptions options,
long timeout,
TimeUnit timeUnit)
Starts a
LookupService based on the provided options and waits
for the given timeout (in time unit) until it is discovered by the admin, which is then returned. |
logEntries, logEntriesDirect
getUid
isDiscovered
getAdmin
getMachine
getTransport
getOperatingSystem
getVirtualMachine
generateDump, generateDump
reloadMetricConfiguration
com.gigaspaces.grid.gsa.AgentProcessesDetails getProcessesDetails()
void startGridService(GridServiceManagerOptions options)
GridServiceManager
based on the provided options.GridServiceManager startGridServiceAndWait(GridServiceManagerOptions options)
GridServiceManager
based on the provided options and waits
indefinitely until it is discovered by the admin, which is then returned.GridServiceManager startGridServiceAndWait(GridServiceManagerOptions options, long timeout, TimeUnit timeUnit)
GridServiceManager
based on the provided options and waits
for the given timeout (in time unit) until it is discovered by the admin, which is then returned.void startGridService(ElasticServiceManagerOptions options)
ElasticServiceManager
based on the provided options.ElasticServiceManager startGridServiceAndWait(ElasticServiceManagerOptions options)
ElasticServiceManager
based on the provided options and waits
indefinitely until it is discovered by the admin, which is then returned.ElasticServiceManager startGridServiceAndWait(ElasticServiceManagerOptions options, long timeout, TimeUnit timeUnit)
ElasticServiceManager
based on the provided options and waits
for the given timeout (in time unit) until it is discovered by the admin, which is then returned.void startGridService(GridServiceContainerOptions options)
GridServiceContainer
based on the provided options.GridServiceContainer startGridServiceAndWait(GridServiceContainerOptions options)
GridServiceContainer
based on the provided options and waits
indefinitely until it is discovered by the admin, which is then returned.GridServiceContainer startGridServiceAndWait(GridServiceContainerOptions options, long timeout, TimeUnit timeUnit)
GridServiceContainer
based on the provided options and waits
for the given timeout (in time unit) until it is discovered by the admin, which is then returned.void startGridService(LookupServiceOptions options)
LookupService
based on the provided options.LookupService startGridServiceAndWait(LookupServiceOptions options)
LookupService
based on the provided options and waits
indefinitely until it is discovered by the admin, which is then returned.LookupService startGridServiceAndWait(LookupServiceOptions options, long timeout, TimeUnit timeUnit)
LookupService
based on the provided options and waits
for the given timeout (in time unit) until it is discovered by the admin, which is then returned.int startGridService(GridServiceOptions options)
void killByAgentId(int agentId)
LogEntries logEntries(LogProcessType type, long pid, LogEntryMatcher matcher)
CompoundLogEntries liveLogEntries(LogEntryMatcher matcher)
CompoundLogEntries allLogEntries(LogProcessType type, LogEntryMatcher matcher)
void shutdown()
ExactZonesConfig getExactZones()
ProcessingUnit#getRequiredContainerZones()}
GridServiceContainers getGridServiceContainers()
GridServiceContainers
started by this GridServiceAgent
GridServiceManagers getGridServiceManagers()
GridServiceManagers
started by this GridServiceAgent
ElasticServiceManagers getElasticServiceManagers()
ElasticServiceManagers
started by this GridServiceAgent
LookupServices getLookupServices()
LookupServices
started by this GridServiceAgent
Copyright © GigaSpaces.