Summary: Stops a preexisting space.

Syntax

gs> space stop [variable [value]]

Description

Stops the space. While a space is stopped, it cannot be pinged, cleaned, destroyed, or otherwise managed. However, it can be replicated. The space can later be started using the start command.

Executing space stop recognizes all the spaces in the network, according to the Jini group defined in your setenv.bat file. A numbered list of all the recognized spaces is then displayed, and you can choose the number of the space to stop, choose to stop all spaces, or cancel.

You can also stop spaces in a specific container (see the options below). This also displays a numbered list of all the spaces in the container.

Specifying a URL of a clustered space prints a list of all spaces in the cluster, and you can choose a space to stop by its number, or all (stops all spaces).

Using -c (or -cluster) with a URL of a clustered space stops all cluster members.
An attempt to stop a space that is already stopped prints the following message:
gs> space stop
total 0
No GigaSpace instances discovered

Options

Option Description Value Format
url The URL of the space you want to stop, or of the container – stops the spaces under that container. Container URL: jini://localhost/my_container
rmi://localhost:10098/my_container
Space URL: jini://localhost/my_container/mySpace
rmi://localhost:10098/my_container
cluster \ c Stops all cluster members.  
help \ h Prints help – the command's usage and options.  
user User name for login to secured space – optional parameter  
password Password for login to secured space – optional parameter  

Example

Stopping spaces under a container named mySpace_container (a list is printed with all the spaces under this container, and you can choose a space to stop by its number or all):

space stop -url rmi://localhost:10098/mySpace_container

Stopping a space named mySpace:

space stop -url rmi://localhost:10098/mySpace_container/mySpace
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence