fun executeDelayedExpensiveWrite(task: Runnable?): Boolean { val f: Future<*> = executeDiskStoreTask(task, this.delayedWritePool) lastDelayedWrite = f return f != null }
Execute a task asynchronously , or in the calling thread if the bound is reached . This pool is used for write operations which can be delayed , but we have a limit on how many write operations we delay so that we do n't run out of disk space . Used for deletes , unpreblow , RAF close , etc .