/** {@inheritDoc} */ @Override public synchronized void removeRecentTableLayoutVersions(String table, int numVersions) throws IOException { final State state = mState.get(); Preconditions.checkState(state == State.OPEN, "Cannot remove recent table layout versions from MetaTable instance in state %s.", state); mTableLayoutDatabase.removeRecentTableLayoutVersions(table, numVersions); }
/** {@inheritDoc} */ @Override public synchronized void removeRecentTableLayoutVersions(String table, int numVersions) throws IOException { final State state = mState.get(); Preconditions.checkState(state == State.OPEN, "Cannot remove recent table layout versions from MetaTable instance in state %s.", state); mTableLayoutDatabase.removeRecentTableLayoutVersions(table, numVersions); }