Interface Cluster.MemberTimeoutAction
- All Superinterfaces:
Action
- Enclosing interface:
Cluster
A MemberTimeoutAction object is valid only for the duration of an
invocation to ActionPolicy.isAllowed(com.tangosol.net.Service, com.tangosol.net.Action)
.
Note: ActionPolicy implementations should assume that the effects of a given physical outage may not be detected in an atomic fashion.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the set of Members who are "announcing".long
Return the time at which the current outage "incident" was first detected.Return the set of Members that have recently responded to this member.Return the set of Members that have exceeded their timeout.
-
Method Details
-
getTimedOutMemberSet
Return the set of Members that have exceeded their timeout.- Returns:
- the set of Members that have exceeded their timeout
-
getResponsiveMemberSet
Return the set of Members that have recently responded to this member.Note: inclusion in the set of responsive members is meaningful, but exclusion is not. Implementations should take care not to infer meaning in members not appearing in the responsive set.
- Returns:
- the set of Members that are known to be healthy
-
getAnnouncingMemberSet
Return the set of Members who are "announcing". Announcing members are potential new cluster members who are broadcasting their presence and attempting to join the cluster.- Returns:
- the set of Members who are announcing
-
getIncidentStartTime
long getIncidentStartTime()Return the time at which the current outage "incident" was first detected. An "incident" is considered to start when the first member timeout is reported, and lasts until no timed-out members remain in the cluster.Note: ActionPolicy implementations should not make assumptions about the time period within which physical outages will be detected, nor should they assume that outages will be reported simultaneously on different members.
- Returns:
- the time in ms at which the current incident started
-