Class InactiveSpaceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
com.gigaspaces.cluster.activeelection.InactiveSpaceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ElectionInProcessException
This exception thrown when attempting to access an inactive space which runs as a backup of
primary space. As long as the the primary space is alive, clients cannot access the backup space
directly to perform space operation. When using clustered proxy, the operation will be
transparently routed to the active primary space. The
getPrimarySpaceName() method
return the primary space name the user should access. Note: Prior to GigaSpaces 5.2 com.j_spaces.core.SpaceStandbyException was used to indicate client access to space running in backup mode.
- Version:
- 5.2
- Author:
- Igor Goldenberg
- See Also:
-
Field Summary
Fields inherited from class java.rmi.RemoteException
detail -
Constructor Summary
ConstructorsModifierConstructorDescriptionInactiveSpaceException(String inActiveSpaceMemberName, String primarySpaceMemberName) Constructor.protectedInactiveSpaceException(String inActiveSpaceMemberName, String primarySpaceMemberName, String msg) -
Method Summary
Methods inherited from class java.rmi.RemoteException
getCause, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InactiveSpaceException
Constructor.- Parameters:
inActiveSpaceMemberName- the backup-only space name.primarySpaceMemberName- the alive primary space of this backup.
-
InactiveSpaceException
-
-
Method Details
-
getPrimarySpaceName
- Returns:
- the primary space of this backup or
nullif this space undergoing election process.
-
getInActiveSpaceName
- Returns:
- the inactive space name.
-