Class RegionDistributionException

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated
    public class RegionDistributionException
    extends RegionRoleException
    Deprecated.
    the MembershipAttributes API is scheduled to be removed
    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.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RegionDistributionException​(java.lang.String s, java.lang.String regionFullPath, java.util.Set failedRoles)
      Deprecated.
      Constructs a RegionDistributionException with a message.
      RegionDistributionException​(java.lang.String s, java.lang.String regionFullPath, java.util.Set failedRoles, java.lang.Throwable ex)
      Deprecated.
      Constructs a RegionDistributionException 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 java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • RegionDistributionException

        public RegionDistributionException​(java.lang.String s,
                                           java.lang.String regionFullPath,
                                           java.util.Set failedRoles)
        Deprecated.
        Constructs a RegionDistributionException with a message.
        Parameters:
        s - the String message
        regionFullPath - full path of region for which access was attempted
        failedRoles - 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 a RegionDistributionException with a message and a cause.
        Parameters:
        s - the String message
        regionFullPath - full path of region for which access was attempted
        failedRoles - the required roles that caused this exception
        ex - the Throwable cause
    • Method Detail

      • getFailedRoles

        public java.util.Set getFailedRoles()
        Deprecated.
        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