Summary: Creating a space using Space Url
OverviewA space is created using SpaceProxyProviderFactory.FindSpace and a Space Url. The difference between creating a space and finding a space is the space url that is used in conjuction with the SpaceProxyProviderFactory.FindSpace method, once the space is created an ISpaceProxy to that space is returned. Embedded SpaceEmbedded space refers to a space that coexists with the proxy in the same process, creation of a space always refers to creating an embedded space. When a space starts it is registered with in a specific lookup group, this space will be found when a space of that name is being looked for with the same lookup group. The following code creates an embedded space with lookup group named myGroup and returns a proxy to that embedded space: ISpaceProxy proxy = SpaceProxyProviderFactory.Instance.FindSpace("/./mySpace?groups=myGroup");
Let's examine the space url that is used to create this space: /./ - Indicates construction url, lookup is done in process without a lookup service.
|
![]() |
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence |