예제 #1
0
 @Override
 public void setBucketSize(int bucketSize) {
   if (bucketSize > 0) {
     _record.setIntField(Attributes.BUCKET_SIZE.toString(), bucketSize);
   }
 }
예제 #2
0
 // TODO: remove this. impl in HelixProperty
 @Override
 public int getBucketSize() {
   return _record.getIntField(Attributes.BUCKET_SIZE.toString(), 0);
 }