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:
-
DistributedMemberDistributedSystemMembershipEvent- 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
ConstructorsConstructorDescriptionMemberJoinedEvent(org.apache.geode.distributed.internal.DistributionManager distributionManager) Constructs a new instance ofMemberJoinedEventinitialized with the givenDistributionManager. -
Method Summary
Modifier and TypeMethodDescriptiongetType()Returns theMembershipEvent.Typeof thisMembershipEvent, such asMembershipEvent.Type.MEMBER_JOINED.Methods inherited from class org.springframework.geode.distributed.event.MembershipEvent
assertNotNull, getCache, getDistributedMember, getDistributedSystem, getDistributionManager, withMemberMethods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
MemberJoinedEvent
public MemberJoinedEvent(org.apache.geode.distributed.internal.DistributionManager distributionManager) Constructs a new instance ofMemberJoinedEventinitialized with the givenDistributionManager.- Parameters:
distributionManager-DistributionManagerused as thesourceof this event; must not be null.- Throws:
IllegalArgumentException- ifDistributionManageris null.- See Also:
-
DistributionManager
-
-
Method Details
-
getType
Description copied from class:MembershipEventReturns theMembershipEvent.Typeof thisMembershipEvent, such asMembershipEvent.Type.MEMBER_JOINED.- Overrides:
getTypein classMembershipEvent<MemberJoinedEvent>- Returns:
- the
MembershipEvent.Type.
-