com.gemstone.gemfire.cache
Class RegionDistributionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.gemstone.gemfire.GemFireException
com.gemstone.gemfire.cache.CacheRuntimeException
com.gemstone.gemfire.cache.RoleException
com.gemstone.gemfire.cache.RegionRoleException
com.gemstone.gemfire.cache.RegionDistributionException
- All Implemented Interfaces:
- Serializable
public class RegionDistributionException
- extends RegionRoleException
Indicates that an attempt to send a distributed cache event to one or more
required 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.
- Since:
- 5.0
- See Also:
- Serialized Form
|
Method Summary |
Set |
getFailedRoles()
Returns the required roles that caused this exception. |
RegionDistributionException
public RegionDistributionException(String s,
String regionFullPath,
Set failedRoles)
- Constructs a
RegionDistributionException 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(String s,
String regionFullPath,
Set failedRoles,
Throwable ex)
- Constructs a
RegionDistributionException 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
getFailedRoles
public Set getFailedRoles()
- Returns the required roles that caused this exception. One or more
roles failed to receive a cache distribution message or acknowledge
receipt of that message.
- Returns:
- the required roles that caused this exception
Copyright © 2002-2010 GemStone Systems, Inc. All Rights Reserved.