|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GridServiceManager
A Grid Service Manager is a manager for ProcessingUnit
deployments
(acting either as primary or backups for a certain processing unit deployment). It also knows
which GridServiceContainer
s are around to be able to create
ProcessingUnitInstance
on them.
Method Summary | |
---|---|
Application |
deploy(ApplicationConfig applicationConfig)
Deploys an application consisting of one or more processing unit deployments. |
Application |
deploy(ApplicationConfig applicationConfig,
long timeout,
TimeUnit timeUnit)
Deploys an application consisting of one or more processing unit deployments. |
Application |
deploy(ApplicationDeployment deployment)
Deploys an application consisting of one or more processing unit deployments. |
Application |
deploy(ApplicationDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys an application consisting of one or more processing unit deployments. |
ProcessingUnit |
deploy(ElasticSpaceDeployment deployment)
Deploys an elastic space based on the space deployment information on the given grid service manager (it will act as the primary GSM for the deployed processing unit). |
ProcessingUnit |
deploy(ElasticSpaceDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys an elastic space based on the space deployment information on the given grid service manager (it will act as the primary GSM for the deployed processing unit). |
ProcessingUnit |
deploy(ElasticStatefulProcessingUnitDeployment deployment)
Deploys an elastic processing unit that has an embedded space based on the processing unit deployment information on the given grid service manager (it will act as the primary GSM for the deployed processing unit). |
ProcessingUnit |
deploy(ElasticStatefulProcessingUnitDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys an elastic processing unit that has an embedded space based on the processing unit deployment information on the given grid service manager (it will act as the primary GSM for the deployed processing unit). |
ProcessingUnit |
deploy(ElasticStatelessProcessingUnitDeployment deployment)
Deploys an elastic processing unit that does not have an embedded space based on the processing unit deployment information on the given grid service manager (it will act as the primary GSM for the deployed processing unit). |
ProcessingUnit |
deploy(ElasticStatelessProcessingUnitDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys an elastic processing unit that does not have an embedded space based on the processing unit deployment information on the given grid service manager (it will act as the primary GSM for the deployed processing unit). |
ProcessingUnit |
deploy(MemcachedDeployment deployment)
Deploys a memcached based on the space deployment information on the given grid service manager (it will act as the primary GSM for the deployed processing unit). |
ProcessingUnit |
deploy(MemcachedDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys a memcached based on the space deployment information on the given grid service manager (it will act as the primary GSM for the deployed processing unit). |
ProcessingUnit |
deploy(ProcessingUnitConfigHolder puConfigHolder)
Deploys a new processing unit based on the specified configuration |
ProcessingUnit |
deploy(ProcessingUnitConfigHolder puConfigHolder,
long timeout,
TimeUnit timeUnit)
Deploys a new processing unit based on the specified configuration The deployment process will wait for the given timeout and return the actual processing unit that can be used. |
ProcessingUnit |
deploy(ProcessingUnitDeployment deployment)
Deploys a processing unit based on the processing unit deployment information on the given grid service manager (it will act as the primary GSM for the deployed processing unit). |
ProcessingUnit |
deploy(ProcessingUnitDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys a processing unit based on the processing unit deployment information on the given grid service manager (it will act as the primary GSM for the deployed processing unit). |
ProcessingUnit |
deploy(SpaceDeployment deployment)
Deploys a space based on the space deployment information on the given grid service manager (it will act as the primary GSM for the deployed processing unit). |
ProcessingUnit |
deploy(SpaceDeployment deployment,
long timeout,
TimeUnit timeUnit)
Deploys a space based on the space deployment information on the given grid service manager (it will act as the primary GSM for the deployed processing unit). |
boolean |
isDeployed(String processingUnitName)
|
void |
undeploy(String processingUnitName)
Undeploys the processing unit based on its name. |
Methods inherited from interface org.openspaces.admin.AgentGridComponent |
---|
getAgentId, getGridServiceAgent, kill, restart |
Methods inherited from interface org.openspaces.admin.LogProviderGridComponent |
---|
logEntries, logEntriesDirect |
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 |
Methods inherited from interface org.openspaces.admin.dump.DumpProvider |
---|
generateDump, generateDump |
Method Detail |
---|
void undeploy(String processingUnitName)
// wait for the lookup event of the processing unit by name.
ProcessingUnit pu = admin.getProcessingUnits().waitFor("mypuname");
// wait for the lookup event of the grid service manager that manages the processing unit.
pu.waitForManaged();
// undeploy the processing unit.
pu.undeploy();
ProcessingUnit deploy(ProcessingUnitDeployment deployment) throws ProcessingUnitAlreadyDeployedException
The deployment process will wait indefinitely and return the actual processing unit that can be used.
ProcessingUnitAlreadyDeployedException
- - processing unit with the same name has already been deployed.ProcessingUnit deploy(ProcessingUnitDeployment deployment, long timeout, TimeUnit timeUnit) throws ProcessingUnitAlreadyDeployedException
The deployment process will wait for the given timeout and return the actual processing unit that can be used.
ProcessingUnitAlreadyDeployedException
- - processing unit with the same name has already been deployed.ProcessingUnit deploy(SpaceDeployment deployment) throws ProcessingUnitAlreadyDeployedException
The deployment process will wait indefinitely and return the actual processing unit that can be used.
Note, deploying just a space is simply deploying a built in processing unit that starts just an embedded space.
ProcessingUnitAlreadyDeployedException
ProcessingUnit deploy(SpaceDeployment deployment, long timeout, TimeUnit timeUnit) throws ProcessingUnitAlreadyDeployedException
The deployment process will wait for the given timeout and return the actual processing unit that can be used.
Note, deploying just a space is simply deploying a built in processing unit that starts just an embedded space.
ProcessingUnitAlreadyDeployedException
ProcessingUnit deploy(MemcachedDeployment deployment) throws ProcessingUnitAlreadyDeployedException
The deployment process will wait indefinitely and return the actual processing unit that can be used.
Note, deploying just a memcached is simply deploying a built in processing unit that starts / connects to a space (holding the memcached entries) and exposing the memcached protocol.
ProcessingUnitAlreadyDeployedException
ProcessingUnit deploy(MemcachedDeployment deployment, long timeout, TimeUnit timeUnit) throws ProcessingUnitAlreadyDeployedException
The deployment process will wait for the given timeout and return the actual processing unit that can be used.
Note, deploying just a memcached is simply deploying a built in processing unit that starts / connects to a space (holding the memcached entries) and exposing the memcached protocol.
ProcessingUnitAlreadyDeployedException
ProcessingUnit deploy(ElasticSpaceDeployment deployment) throws ProcessingUnitAlreadyDeployedException
The deployment process will wait indefinitely and return the actual processing unit that can be used.
Note, deploying just a space is simply deploying a built in processing unit that starts just an embedded space.
ProcessingUnitAlreadyDeployedException
ProcessingUnit deploy(ElasticSpaceDeployment deployment, long timeout, TimeUnit timeUnit) throws ProcessingUnitAlreadyDeployedException
The deployment process will wait for the given timeout and return the actual processing unit that can be used.
Note, deploying just a space is simply deploying a built in processing unit that starts just an embedded space.
ProcessingUnitAlreadyDeployedException
ProcessingUnit deploy(ElasticStatefulProcessingUnitDeployment deployment) throws ProcessingUnitAlreadyDeployedException
The deployment process will wait indefinitely and return the actual processing unit that can be used.
ProcessingUnitAlreadyDeployedException
- - processing unit with the same name has already been deployed.ProcessingUnit deploy(ElasticStatefulProcessingUnitDeployment deployment, long timeout, TimeUnit timeUnit) throws ProcessingUnitAlreadyDeployedException
The deployment process will wait for the given timeout and return the actual processing unit that can be used.
ProcessingUnitAlreadyDeployedException
- - processing unit with the same name has already been deployed.ProcessingUnit deploy(ElasticStatelessProcessingUnitDeployment deployment) throws ProcessingUnitAlreadyDeployedException
The deployment process will wait indefinitely and return the actual processing unit that can be used.
ProcessingUnitAlreadyDeployedException
- - processing unit with the same name has already been deployed.ProcessingUnit deploy(ElasticStatelessProcessingUnitDeployment deployment, long timeout, TimeUnit timeUnit) throws ProcessingUnitAlreadyDeployedException
The deployment process will wait for the given timeout and return the actual processing unit that can be used.
ProcessingUnitAlreadyDeployedException
- - processing unit with the same name has already been deployed.Application deploy(ApplicationDeployment deployment) throws ApplicationAlreadyDeployedException, ProcessingUnitAlreadyDeployedException
The deployment process will wait indefinitely
ApplicationAlreadyDeployedException
- - Application with the same name has already been deployed.
ProcessingUnitAlreadyDeployedException
- - Processing unit with the same name has already been deployed. Processing Unit names are globally unique (regardless of the application name)Application deploy(ApplicationDeployment deployment, long timeout, TimeUnit timeUnit) throws ApplicationAlreadyDeployedException, ProcessingUnitAlreadyDeployedException
The deployment process will wait for the given timeout
ApplicationAlreadyDeployedException
- - Application with the same name has already been deployed.
ProcessingUnitAlreadyDeployedException
- - Processing unit with the same name has already been deployed. Processing Unit names are globally unique (regardless of the application name)ProcessingUnit deploy(ProcessingUnitConfigHolder puConfigHolder)
ProcessingUnitAlreadyDeployedException
- - processing unit with the same name has already been deployed.ProcessingUnit deploy(ProcessingUnitConfigHolder puConfigHolder, long timeout, TimeUnit timeUnit)
The deployment process will wait for the given timeout and return the actual processing unit that can be used.
ProcessingUnitAlreadyDeployedException
- - processing unit with the same name has already been deployed.boolean isDeployed(String processingUnitName)
Application deploy(ApplicationConfig applicationConfig)
The deployment process will wait indefinitely
ApplicationAlreadyDeployedException
- - Application with the same name has already been deployed.
ProcessingUnitAlreadyDeployedException
- - Processing unit with the same name has already been deployed. Processing Unit names are globally unique (regardless of the application name)Application deploy(ApplicationConfig applicationConfig, long timeout, TimeUnit timeUnit) throws ApplicationAlreadyDeployedException, ProcessingUnitAlreadyDeployedException
The deployment process will wait for the given timeout
ApplicationAlreadyDeployedException
- - Application with the same name has already been deployed.
ProcessingUnitAlreadyDeployedException
- - Processing unit with the same name has already been deployed. Processing Unit names are globally unique (regardless of the application name)
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |