GemFire 6.5

com.gemstone.gemfire.cache.persistence
Class PartitionOfflineException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gemstone.gemfire.GemFireException
                  extended by com.gemstone.gemfire.cache.persistence.PartitionOfflineException
All Implemented Interfaces:
Serializable

public class PartitionOfflineException
extends GemFireException

Thrown when a paritioned region is configured for disk persistence, and part of the data is stored on members that are known to be offline. With a partitioned region, the keyspace is segmented into buckets which are assigned to individual members. If all members that are storing data for a particular bucket are offline, any attempt to access or update data in that bucket will throw this exception. If you see this exception, that means that you need to restart the members that host the missing data.

Since:
6.5
See Also:
Serialized Form

Constructor Summary
PartitionOfflineException(Set<PersistentID> offlineMembers)
           
PartitionOfflineException(Set<PersistentID> offlineMembers, String message)
           
PartitionOfflineException(Set<PersistentID> offlineMembers, String message, Throwable cause)
           
PartitionOfflineException(Set<PersistentID> offlineMembers, Throwable cause)
           
 
Method Summary
 Set<PersistentID> getOfflineMembers()
          Retrieve the set of disk directories which are known to hold data for the missing buckets, but are not online.
 
Methods inherited from class com.gemstone.gemfire.GemFireException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PartitionOfflineException

public PartitionOfflineException(Set<PersistentID> offlineMembers)

PartitionOfflineException

public PartitionOfflineException(Set<PersistentID> offlineMembers,
                                 String message)

PartitionOfflineException

public PartitionOfflineException(Set<PersistentID> offlineMembers,
                                 String message,
                                 Throwable cause)

PartitionOfflineException

public PartitionOfflineException(Set<PersistentID> offlineMembers,
                                 Throwable cause)
Method Detail

getOfflineMembers

public Set<PersistentID> getOfflineMembers()
Retrieve the set of disk directories which are known to hold data for the missing buckets, but are not online.


GemFire 6.5

Copyright © 2002-2010 GemStone Systems, Inc. All Rights Reserved.