Code example for Cache

Methods: invalidate

0
    if (!enabled)
      return; 
    Cache<String, String> tableCache = cache.get(table);
    if (tableCache != null) {
      final String key = key(hashKey, rangeKey);
      tableCache.invalidate(key);
    } 
  } 
 
  @Override 
  public void remove(String table) {
    Cache<String, String> tableCache = cache.get(table);
    if (tableCache != null) {
      tableCache.invalidateAll();
    } 
  } 
 
  @Override 
  public void removeAll() { 
    if (!enabled)
Connect your IDE to all the code out there  Get Codota for Java