/** @brief Check if it's time to save the auctions out yet. */ private void checkSnapshot() { if ((mLastCheckpointed + mCheckpointFrequency) < System.currentTimeMillis()) { mLastCheckpointed = System.currentTimeMillis(); saveAuctions(); System.gc(); } }
public int clearDeleted() { int rval = DeletedEntry.clear(); saveAuctions(); System.gc(); return rval; }