MCPcopy Create free account
hub / github.com/buggins/coolreader / swapToCache

Method swapToCache

android/src/org/coolreader/crengine/DocView.java:51–56  ·  view source on GitHub ↗

If document uses cache file, swap all unsaved data to it. @return either SWAP_DONE, SWAP_TIMEOUT, SWAP_ERROR

()

Source from the content-addressed store, hash-verified

49 * @return either SWAP_DONE, SWAP_TIMEOUT, SWAP_ERROR
50 */
51 public int swapToCache() {
52
53 synchronized(mutex) {
54 return swapToCacheInternal();
55 }
56 }
57
58 /**
59 * Follow link.

Callers 2

workMethod · 0.45
openRecentBookMethod · 0.45

Calls 1

swapToCacheInternalMethod · 0.95

Tested by

no test coverage detected