server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java
public int getWriteQuorum(final String clusterName, final int totalConfiguredMasterServers, final String server) {
    Integer overWrite = overwriteWriteQuorum.get();
    if (overWrite != null)
      return overWrite.intValue();
    else
      return getQuorum("writeQuorum", clusterName, totalConfiguredMasterServers, DEFAULT_WRITE_QUORUM, server);
  }
public int getWriteQuorum(final String clusterName, final int totalConfiguredMasterServers, final String server) {
    Integer overWrite = overwriteWriteQuorum.get();
    if (overWrite != null)
      return overWrite.intValue();
    else
      return getQuorum("writeQuorum", clusterName, totalConfiguredMasterServers, DEFAULT_WRITE_QUORUM, server);
  }
public int getWriteQuorum ( final String clusterName , final int totalConfiguredMasterServers , final String server ) { Integer overWrite = overwriteWriteQuorum . get ( ) ; if ( overWrite != null ) return overWrite . intValue ( ) ; else return getQuorum ( "writeQuorum" , clusterName , totalConfiguredMasterServers , DEFAULT_WRITE_QUORUM , server ) ; }
Returns the write quorum.

@param clusterName                  Cluster name, or null for *
@param totalConfiguredMasterServers Total node available
Returns the write quorum .