public void remove(int offset, int length) {
   synchronized (mutex) {
     list.remove(offset, length);
   }
 }