org.apache.geode.cache

## Interface RoleEvent<K,V>

- All Superinterfaces:
    CacheEvent<K,V>, RegionEvent<K,V>

  Deprecated.
  this feature is scheduled to be removed

      public interface RoleEvent<K,V>
      extends RegionEvent<K,V>

  Contains information about an event affecting a region reliability, including its identity and the circumstances of the event. This is passed in to `RegionRoleListener`.
  See Also:
    `RegionRoleListener`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Set<java.lang.String>` | `getRequiredRoles()` Deprecated. Returns the required roles that were lost or gained because of this event.

    - ### Methods inherited from interface org.apache.geode.cache.RegionEvent

      `isReinitializing`

    - ### Methods inherited from interface org.apache.geode.cache.CacheEvent

      `getCallbackArgument, getDistributedMember, getOperation, getRegion, isCallbackArgumentAvailable, isOriginRemote`

- - ### Method Detail

    - #### getRequiredRoles

          java.util.Set<java.lang.String> getRequiredRoles()

      Deprecated.
      Returns the required roles that were lost or gained because of this event.