Class MemberJoinedEvent
java.lang.Object
java.util.EventObject
org.springframework.geode.distributed.event.MembershipEvent<MemberJoinedEvent>
org.springframework.geode.distributed.event.support.MemberJoinedEvent
- All Implemented Interfaces:
Serializable
- Since:
- 1.3.0
- See Also:
-
DistributedMember
DistributedSystem
MembershipEvent
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.geode.distributed.event.MembershipEvent
MembershipEvent.Type
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionMemberJoinedEvent
(org.apache.geode.distributed.internal.DistributionManager distributionManager) Constructs a new instance ofMemberJoinedEvent
initialized with the givenDistributionManager
. -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Returns theMembershipEvent.Type
of thisMembershipEvent
, such asMembershipEvent.Type.MEMBER_JOINED
.Methods inherited from class org.springframework.geode.distributed.event.MembershipEvent
assertNotNull, getCache, getDistributedMember, getDistributedSystem, getDistributionManager, withMember
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
MemberJoinedEvent
public MemberJoinedEvent(org.apache.geode.distributed.internal.DistributionManager distributionManager) Constructs a new instance ofMemberJoinedEvent
initialized with the givenDistributionManager
.- Parameters:
distributionManager
-DistributionManager
used as thesource
of this event; must not be null.- Throws:
IllegalArgumentException
- ifDistributionManager
is null.- See Also:
-
DistributionManager
-
-
Method Details
-
getType
Returns theMembershipEvent.Type
of thisMembershipEvent
, such asMembershipEvent.Type.MEMBER_JOINED
.- Overrides:
getType
in classMembershipEvent<MemberJoinedEvent>
- Returns:
- the
MembershipEvent.Type
.
-