com.gigaspaces.cluster.activeelection
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
 
public class InactiveSpaceException
- extends RemoteException
 
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.
- See Also:
 SpaceMode, 
Serialized Form
 
 
 
 
 
 
 
InactiveSpaceException
public InactiveSpaceException(String inActiveSpaceMemberName,
                              String primarySpaceMemberName)
- Constructor.
- Parameters:
 inActiveSpaceMemberName - the backup-only space name.primarySpaceMemberName - the alive primary space of this backup.
 
getPrimarySpaceName
public String getPrimarySpaceName()
- Returns:
 - the primary space of this backup or 
null if this space undergoing 
 election process. 
 
getInActiveSpaceName
public String getInActiveSpaceName()
- Returns:
 - the inactive space name.