示例#1
0
 @Override
 public Number getNbShards() {
   return nbShards.getNumberValue();
 }
示例#2
0
 @Override
 public void setNbShards(int nb) {
   nbShards.setValue(String.valueOf(nb));
 }
示例#3
0
 @Override
 public void setNbReplicas(int nb) {
   nbReplicas.setValue(String.valueOf(nb));
 }
示例#4
0
 @Override
 public Number getNbReplicas() {
   return nbReplicas.getNumberValue();
 }