|
Summary: Creates a space.
OverviewThe createSpace utility is used to create a new space entity in the container. A space can be memory-based or persistent-based (memory space). A memory space keeps all its data in virtual memory and loses all data when it shuts down, whether normally or abnormally – unless it is clustered. A persistent space keeps its data in a persistent backend and can therefore survive crashes. The createSpace utility provides the following options: Usage: createSpace [container name] [space name] <options>
options:
-h prints help
-schema create space using the schema template
-properties properties file name used to overwrite default configuration properties.
-c create cluster space [URL to cluster configuration file]
-l lookup service hostname
-r RMI registry hostname
-g lookup groups
-port container binding the space on this port
-p persistency options [SA-class] SA-url
Usage example with creating Persistent space: createSpace [container name] [space name] -p com.j_spaces.sadapter.GenericJDBC.JDBCStorageAdapter c: /GigaSpaces5.0EE/GenericJDBCProperties/CloudscapeProperties Usage example with LookupService: createSpace [container name] [space name] -l lookuphost -g group1 group2 Usage example with RMIRegistry: createSpace [container name] [space name] -r rmiRegistryHost Usage example creating clustered space: createSpace [container name] [space name] -c http://webhost:8087/clusterConfigFile.xml The general format for creating a space is: createspace [container name] [space name] -l lookuphost -g group1 group2 Using RMI registry: createspace [container name] [space name] -r rmiRegistryHost
|
Wiki Content Tree
Your Feedback Needed!
We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com. Please provide a link to the wiki page you are referring to.
Add Comment