public void setCapacity(long capacity) {
   map.setCapacity(capacity);
 }
 public void updateCapacity(int capacity) {
   map.setCapacity(capacity);
 }