com.hazelcast.quorum
Interface QuorumFunction
public interface QuorumFunction
A function that can be used for conclude absence/presence of quorum.
This function is triggered when any change happens to member list.
Method Summary |
boolean |
apply(Collection<Member> members)
Determines if quorum is present based on the member-list. |
apply
boolean apply(Collection<Member> members)
- Determines if quorum is present based on the member-list.
- Parameters:
members
- snapshot of current member list
- Returns:
- boolean presence/absence of quorum
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.