docs: function RiakCluster(options) {
      events.EventEmitter.call(this);
      var self = this;
  
      if (options === undefined) {
          options = {};
      }
  
      Joi.validate(options, schema, function(err, options) {
          if (err) {
              throw err;
          }
          self.nodes = options.nodes;
          self.executionAttempts = options.executionAttempts;
          self.state = State.CREATED;
          self.nodeManager = options.nodeManager;
          self.queueCommands = options.queueCommands;
          self.queueMaxDepth = options.queueMaxDepth;
          self.queueSubmitInterval = options.queueSubmitInterval;
      });
  
      this._commandQueue = [];
  
      // Note: useful for debugging event issues
      // this.setMaxListeners(1);
  
      this._stateCheck = function(allowedStates) {
          return utils.stateCheck('[RiakCluster]', this.state,
              allowedStates, stateNames);
      };
  }