RoleEvent (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode.cache, interface: RoleEvent

Package org.apache.geode.cache

# Interface RoleEvent<K,V>

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

@Deprecated public interface RoleEvent<K,V> extends RegionEvent<K,V>
Deprecated.
this feature is scheduled to be removed
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

  Modifier and Type
  Method
  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.CacheEvent

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

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

  `isReinitializing`

- ## Method Details

  - ### 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