public List<String> getQuorumV() throws MgmtSmrCommandException {
        final String cmd = "getquorumv";

        try {
            String reply = executeQuery(cmd);
            String []toks = reply.split(" ");
            if (!toks[0].equals(S2C_OK)) {
                final String msg = "getquorumv fail. " + this + ", cmd: " + cmd
                        + ", reply: " + reply;
                Logger.error(msg);
                throw new MgmtSmrCommandException(msg);
            }
            
            List<String> ret = new ArrayList<String>();
            for (int i = 1; i < toks.length; i++) {
                ret.add(toks[i]);
            }
            
            Logger.info("getquorumv success. {}, reply: {}", this, reply);
            return ret;
        } catch (IOException e) {
            final String msg = "getquorumv fail. " + this + ", cmd: " + cmd
                    + ", exception: " + e.getMessage();
            Logger.warn(msg);
            throw new MgmtSmrCommandException(msg);
        }
    }
public List<String> getQuorumV() throws MgmtSmrCommandException {
        final String cmd = "getquorumv";

        try {
            String reply = executeQuery(cmd);
            String []toks = reply.split(" ");
            if (!toks[0].equals(S2C_OK)) {
                final String msg = "getquorumv fail. " + this + ", cmd: " + cmd
                        + ", reply: " + reply;
                Logger.error(msg);
                throw new MgmtSmrCommandException(msg);
            }
            
            List<String> ret = new ArrayList<String>();
            for (int i = 1; i < toks.length; i++) {
                ret.add(toks[i]);
            }
            
            Logger.info("getquorumv success. {}, reply: {}", this, reply);
            return ret;
        } catch (IOException e) {
            final String msg = "getquorumv fail. " + this + ", cmd: " + cmd
                    + ", exception: " + e.getMessage();
            Logger.warn(msg);
            throw new MgmtSmrCommandException(msg);
        }
    }
public List < String > getQuorumV ( ) throws MgmtSmrCommandException { final String cmd = "getquorumv" ; try { String reply = executeQuery ( cmd ) ; String [ ] toks = reply . split ( " " ) ; if ( ! toks [ 0 ] . equals ( S2C_OK ) ) { final String msg = "getquorumv fail. " + this + ", cmd: " + cmd + ", reply: " + reply ; Logger . error ( msg ) ; throw new MgmtSmrCommandException ( msg ) ; } List < String > ret = new ArrayList < String > ( ) ; for ( int i = 1 ; i < toks . length ; i ++ ) { ret . add ( toks [ i ] ) ; } Logger . info ( "getquorumv success. {}, reply: {}" , this , reply ) ; return ret ; } catch ( IOException e ) { final String msg = "getquorumv fail. " + this + ", cmd: " + cmd + ", exception: " + e . getMessage ( ) ; Logger . warn ( msg ) ; throw new MgmtSmrCommandException ( msg ) ; } }
/*
return List<String> containing [quorum, nid1, nid2, ...]
/ * return List<String > containing [ quorum nid1 nid2 ... ]