com.hazelcast.quorum.impl
public class QuorumImpl extends Object implements Quorum
QuorumImpl
can be used to notify quorum service for a particular quorum result that originated externally.Constructor and Description |
---|
QuorumImpl(QuorumConfig config,
NodeEngineImpl nodeEngine) |
Modifier and Type | Method and Description |
---|---|
void |
ensureQuorumPresent(Operation op) |
QuorumConfig |
getConfig() |
String |
getName() |
int |
getSize() |
boolean |
isInitialized() |
boolean |
isPresent()
Returns true if quorum is present, false if absent.
|
void |
setLocalResult(boolean presence) |
String |
toString() |
void |
update(Collection<Member> members) |
public QuorumImpl(QuorumConfig config, NodeEngineImpl nodeEngine)
public void update(Collection<Member> members)
public String getName()
public int getSize()
public QuorumConfig getConfig()
public boolean isInitialized()
public boolean isPresent()
Quorum
public void setLocalResult(boolean presence)
public void ensureQuorumPresent(Operation op)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.