|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GridServiceAgent
A Grid Service Agent is a process manager allowing to start and stop (on the operating system process level)
processes (such as 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.
Method Summary | |
---|---|
com.gigaspaces.grid.gsa.AgentProcessesDetails |
getProcessesDetails()
Returns all the processes details this agent is currently running. |
void |
startGridService(GridServiceContainerOptions options)
Starts a GridServiceContainer based on the provided options. |
void |
startGridService(GridServiceManagerOptions options)
Starts a GridServiceManager based on the provided options. |
void |
startGridService(GridServiceOptions options)
Starts a generic process of a given type. |
void |
startGridService(LookupServiceOptions options)
Starts a LookupService based on the provided options. |
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. |
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 |
---|
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(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.
void startGridService(GridServiceOptions options)
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |