/** {@inheritDoc} */ @Override public void close() throws IOException { LOG.debug("Closing TableUserRegistration {}.", this); unregister(); }
/** * Update this TableUserRegistration with the supplied layout ID. * * @param layoutID id of layout being used by registered table user. * @throws IOException on unrecoverable ZooKeeper error. */ public void updateRegisteredLayout(String layoutID) throws IOException { synchronized (mMonitor) { unregister(); register(layoutID); } }