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

Method remove

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

Removes a cached value, but does not affect the table @param primaryKeys The keys used to access the value

(Object... primaryKeys)

Source from the content-addressed store, hash-verified

99 * @param primaryKeys The keys used to access the value
100 */
101 public synchronized void remove(Object... primaryKeys) {
102 checkKeys(primaryKeys);
103 SQLCacheEntry entry = new SQLCacheEntry(primaryKeys);
104 modified.remove(entry);
105 cache.remove(entry);
106 }
107
108 /**
109 * Updates the cached value for a row

Callers 1

deleteMethod · 0.95

Calls 2

checkKeysMethod · 0.95
removeMethod · 0.65

Tested by

no test coverage detected