RoleEvent (Apache Geode 1.15.4)

org.apache.geode.cache

## Interface RoleEvent<K,V>

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

  Deprecated.
  this feature is scheduled to be removed

      @Deprecated
      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
    --- | ---
    `Set<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

          Set<String> getRequiredRoles()

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