MembershipEvent (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode.management.membership, interface: MembershipEvent

Package org.apache.geode.management.membership

# Interface MembershipEvent

All Known Implementing Classes:
  `UniversalMembershipListenerAdapter.AdaptedMembershipEvent`

public interface MembershipEvent
An event that describes the member that originated this event. Instances of this are delivered to a `MembershipListener` when a member has joined or left the distributed system.

Since:
  GemFire 8.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DistributedMember`
  `getDistributedMember()`
  Returns the `DistributedMember` that this event originated in.
  `String`
  `getMemberId()`
  Returns the distributed member as a String.

- ## Method Details

  - ### getMemberId

    String getMemberId()
    Returns the distributed member as a String.
    Returns:
      the distributed member as a String

  - ### getDistributedMember

    DistributedMember getDistributedMember()
    Returns the `DistributedMember` that this event originated in.
    Returns:
      the member that performed the operation that originated this event.
    Since:
      GemFire 8.0