public class MemberJoinedEvent extends MembershipEvent<MemberJoinedEvent>
DistributedMember
,
DistributedSystem
,
MembershipEvent
,
Serialized FormMembershipEvent.Type
Constructor and Description |
---|
MemberJoinedEvent(org.apache.geode.distributed.internal.DistributionManager distributionManager)
Constructs a new instance of
MemberJoinedEvent initialized with the given DistributionManager . |
Modifier and Type | Method and Description |
---|---|
MembershipEvent.Type |
getType()
Returns the
MembershipEvent.Type of this MembershipEvent , such as MembershipEvent.Type.MEMBER_JOINED . |
assertNotNull, getCache, getDistributedMember, getDistributedSystem, getDistributionManager, withMember
public MemberJoinedEvent(org.apache.geode.distributed.internal.DistributionManager distributionManager)
MemberJoinedEvent
initialized with the given DistributionManager
.distributionManager
- DistributionManager
used as the source
of this event;
must not be null.java.lang.IllegalArgumentException
- if DistributionManager
is null.DistributionManager
public MembershipEvent.Type getType()
MembershipEvent
MembershipEvent.Type
of this MembershipEvent
, such as MembershipEvent.Type.MEMBER_JOINED
.getType
in class MembershipEvent<MemberJoinedEvent>
MembershipEvent.Type
.