Gemfire JavaDocs
Package org.apache.geode.cache
Class RegionDistributionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.geode.GemFireException
-
- org.apache.geode.cache.CacheRuntimeException
-
- org.apache.geode.cache.RoleException
-
- org.apache.geode.cache.RegionRoleException
-
- org.apache.geode.cache.RegionDistributionException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class RegionDistributionException extends RegionRoleException
Deprecated.the MembershipAttributes API is scheduled to be removedIndicates that an attempt to send a distributed cache event to one or morerequired roles
may have failed. Failure may be caused by departure of one or more required roles while sending the message to them. If the region scope is DISTRIBUTED_NO_ACK or GLOBAL then failure may be caused by one or more required roles not acknowledging receipt of the message.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegionDistributionException(java.lang.String s, java.lang.String regionFullPath, java.util.Set failedRoles)
Deprecated.Constructs aRegionDistributionException
with a message.RegionDistributionException(java.lang.String s, java.lang.String regionFullPath, java.util.Set failedRoles, java.lang.Throwable ex)
Deprecated.Constructs aRegionDistributionException
with a message and a cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.Set
getFailedRoles()
Deprecated.Returns the required roles that caused this exception.-
Methods inherited from class org.apache.geode.cache.RegionRoleException
getRegionFullPath
-
Methods inherited from class org.apache.geode.cache.CacheRuntimeException
toString
-
Methods inherited from class org.apache.geode.GemFireException
getRootCause
-
-
-
-
Constructor Detail
-
RegionDistributionException
public RegionDistributionException(java.lang.String s, java.lang.String regionFullPath, java.util.Set failedRoles)
Deprecated.Constructs aRegionDistributionException
with a message.- Parameters:
s
- the String messageregionFullPath
- full path of region for which access was attemptedfailedRoles
- the required roles that caused this exception
-
RegionDistributionException
public RegionDistributionException(java.lang.String s, java.lang.String regionFullPath, java.util.Set failedRoles, java.lang.Throwable ex)
Deprecated.Constructs aRegionDistributionException
with a message and a cause.- Parameters:
s
- the String messageregionFullPath
- full path of region for which access was attemptedfailedRoles
- the required roles that caused this exceptionex
- the Throwable cause
-
-