code: public void setLocal(boolean local)
     {
        // start local transaction
        if (local && changesList.get() == null)
        {
           beginTransaction();
        }
        this.local.set(local);
     }
docs: Creates all ChangesBuffers with given parameter
  
  @param local