public void ReleaseStore(TableBase table) { IPersistentStore store = this._rowStoreMap.Get(table.GetPersistenceId()); if (store != null) { store.Release(); this._rowStoreMap.Remove(table.GetPersistenceId()); } }
public void ClearResultTables(long actionTimestamp) { if (!this._rowStoreMapSession.IsEmpty()) { Iterator <IPersistentStore> iterator = this._rowStoreMapSession.GetValues().GetIterator(); while (iterator.HasNext()) { IPersistentStore store = iterator.Next(); if (store.GetTimestamp() == actionTimestamp) { store.Release(); } } } }