public static interface LruCache.DirtyData<V> extends Iterator<V>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
abort()
当存储到数据库只有前面的部分成功时调用其把余下项标记回刷写列表,不需要开始时执行begin
|
void |
begin()
在遍历待保存项前执行其开启rollback/commit支持
|
int |
commit()
若使用begin开始,则当存储到数据库完成执行其
|
void |
rollback()
当存储到数据库出错时回滚则调用其把计数项标记回刷写列表,必须在开始时执行了begin
|
forEachRemaining, hasNext, next, removeCopyright © 2022. All rights reserved.