|
Summary: Makes a space active on one or more machines.
Syntaxgs> space create [variable [value]] DescriptionMakes a space active on one or more machines. 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.
Options
ExampleCreating a space named mySpace using the cache-space-schema.xml file: space create -url jini://localhost/my_container -name mySpace -schema cache Creating a clustered space named mySpace, using the gs.properties file: space create -url jini://localhost/my_container -name mySpace -properties gs -c <GigaSpaces Root>\config\myCluster.xml Creating a persistent space named mySpace using the GenericPersistentAdapter class: space create -url jini://evgeny-lt/mySpace_container -name mySpace -p com.j_spaces.sadapter.GenericPA.GenericPersistentAdapter <GigaSpaces Root>\GenericPersistProperties Creating a persistent space named mySpace using the JDBCStorageAdapter class: space create -url jini://evgeny-lt/mySpace_container -name mySpace -p com.j_spaces.sadapter.GenericJDBC.JDBCStorageAdapter /GenericJDBCProperties/HSQLProperties |
(works on Firefox 2 and Internet Explorer 7)