Summary: Using a SpaceUrl, which is an address that is used to connect to a space and create new spaces, as well as to enable various characteristics.

Overview

What is a SpaceUrl?

A SpaceUrl is an address, passed to the SpaceProxyProviderFactory.Instance.FindSpace method, used to connect to a space and create new spaces, as well as to enable various characteristics.

Usage

In order to locate a space, you should specify its URL. The SpaceUrl is used in the SpaceProxyProviderFactory.Instance.FindSpace method, when searching or creating a space.


The general format of the SpaceUrl is:

<protocol>://<host name>:<port>/<container name>/<space name>?<properties>


Name Description
Protocol [RMI|Jini|Java]
  • Jini – Remote access using Jini for lookup
  • RMI – Remote access using RMI registry for lookup
  • Java – Local embedded access
Host name/IP The machine host name/IP running the space container. May be * (wildcard), when Jini is used as a protocol. In this case, the space is located using multicast or unicast with a search path.
Port The RMI Registry or Jini lookup port. If no port is specified, then the default port is used.
Container Name The name of the container that holds the space. May be * when Jini is used as a protocol. In this case the container is ignored when performing lookup, and the space is searched, regardless of the container that holds it. This is obsolete and should only be used with *.
Space Name The space name to search.
Properties String (Optional) named value list of special properties.

Make sure your network and machines running GigaSpaces are configured to have multicast enabled. See the How to Configure Multicast section for details on how to enable multicast.

GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence