MCPcopy Index your code
hub / github.com/wyouflf/xUtils3 / run

Method run

xutils/src/main/java/org/xutils/cache/LruDiskCache.java:107–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 final DiskCacheEntity finalResult = result;
106 trimExecutor.execute(new Runnable() {
107 @Override
108 public void run() {
109 finalResult.setHits(finalResult.getHits() + 1);
110 finalResult.setLastAccess(System.currentTimeMillis());
111 try {
112 cacheDb.update(finalResult, "hits", "lastAccess");
113 } catch (Throwable ex) {
114 LogUtil.e(ex.getMessage(), ex);
115 }
116 }
117 });
118 }
119

Callers

nothing calls this directly

Calls 15

eMethod · 0.95
deleteExpiryMethod · 0.95
deleteFileWithLockMethod · 0.95
getFileOrDirSizeMethod · 0.95
deleteFileOrDirMethod · 0.95
setHitsMethod · 0.80
getHitsMethod · 0.80
setLastAccessMethod · 0.80
getMessageMethod · 0.80
countMethod · 0.80
getPathMethod · 0.80
isEmptyMethod · 0.80

Tested by

no test coverage detected