Removes a cached value, but does not affect the table @param primaryKeys The keys used to access the value
(Object... primaryKeys)
| 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 |