MCPcopy Create free account
hub / github.com/boxbeam/RedLib / clear

Method clear

src/redempt/redlib/sql/SQLCache.java:183–185  ·  view source on GitHub ↗

Clears the cache. WARNING: This will revert all changes that have not been flushed! No updates performed through SQLCache#update(Object, Object...) will be committed!

()

Source from the content-addressed store, hash-verified

181 * No updates performed through {@link SQLCache#update(Object, Object...)} will be committed!
182 */
183 public void clear() {
184 cache.clear();
185 }
186
187 /**
188 * Flushes the cache, saving all changes that were made.

Callers 7

flushMethod · 0.45
setProtectionTypesMethod · 0.45
clearBypassPoliciesMethod · 0.45
clearDenyMessagesMethod · 0.45
loadFromMethod · 0.45
loadFromMethod · 0.45
clearCommentsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected