GigaSpaces XAP 7.1 API

org.openspaces.admin.gsm
Interface GridServiceManager

All Superinterfaces:
AdminAware, AgentGridComponent, DiscoverableComponent, DumpProvider, GridComponent, LogProviderGridComponent, MachineAware, OperatingSystemAware, TransportAware, VirtualMachineAware, ZoneAware

public interface GridServiceManager
extends AgentGridComponent, LogProviderGridComponent, DumpProvider

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 GridServiceContainers are around to be able to create ProcessingUnitInstance on them.

Author:
kimchy

Method Summary
 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(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).
 void undeploy(String processingUnitName)
          Undeploys the provided processing unit name.
 
Methods inherited from interface org.openspaces.admin.AgentGridComponent
getAgentId, getGridServiceAgent, kill, restart
 
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.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

undeploy

void undeploy(String processingUnitName)
Undeploys the provided processing unit name.


deploy

ProcessingUnit deploy(ProcessingUnitDeployment deployment)
                      throws ProcessingUnitAlreadyDeployedException
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).

The deployment process will wait indefinitely and return the actual processing unit that can be used.

Throws:
ProcessingUnitAlreadyDeployedException

deploy

ProcessingUnit deploy(ProcessingUnitDeployment deployment,
                      long timeout,
                      TimeUnit timeUnit)
                      throws ProcessingUnitAlreadyDeployedException
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).

The deployment process will wait for the given timeout and return the actual processing unit that can be used.

Throws:
ProcessingUnitAlreadyDeployedException

deploy

ProcessingUnit deploy(SpaceDeployment deployment)
                      throws ProcessingUnitAlreadyDeployedException
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).

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.

Throws:
ProcessingUnitAlreadyDeployedException

deploy

ProcessingUnit deploy(SpaceDeployment deployment,
                      long timeout,
                      TimeUnit timeUnit)
                      throws ProcessingUnitAlreadyDeployedException
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).

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.

Throws:
ProcessingUnitAlreadyDeployedException

deploy

ProcessingUnit deploy(MemcachedDeployment deployment)
                      throws ProcessingUnitAlreadyDeployedException
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).

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.

Throws:
ProcessingUnitAlreadyDeployedException

deploy

ProcessingUnit deploy(MemcachedDeployment deployment,
                      long timeout,
                      TimeUnit timeUnit)
                      throws ProcessingUnitAlreadyDeployedException
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).

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.

Throws:
ProcessingUnitAlreadyDeployedException

GigaSpaces XAP 7.1 API

Copyright © GigaSpaces.