org.openspaces.core.util
Class SpaceUtils
java.lang.Object
org.openspaces.core.util.SpaceUtils
public abstract class SpaceUtils
- extends Object
A set of IJSpace
utilites.
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpaceUtils
public SpaceUtils()
getClusterMemberSpace
public static IJSpace getClusterMemberSpace(IJSpace space)
throws DataAccessException
- Returns a proxy space to the specified space name. In case of clustered proxy to a space,
will return an acutal cluster member proxy (i.e. not cluster aware). If the proxy does not
point to a clusered space, will return the same space.
- Parameters:
space
- The space to get the cluster member space from.
- Returns:
- A cluster member of the specified space
- Throws:
DataAccessException
isRemoteProtocol
public static boolean isRemoteProtocol(IJSpace space)
- Returns
true
if the Space uses a remote protocol.
spaceUrlProperty
public static String spaceUrlProperty(String propertyName)
isSameSpace
public static boolean isSameSpace(IJSpace space1,
IJSpace space2)
throws DataAccessException
- Throws:
DataAccessException
Copyright © GigaSpaces.