All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebean.redis.NearCacheInvalidate Maven / Gradle / Ivy

There is a newer version: 15.8.0
Show newest version
package io.ebean.redis;

import java.util.Set;

/**
 * Near cache invalidation.
 */
public interface NearCacheInvalidate {

  /**
   * Invalidate from near cache the given keys.
   */
  void invalidateKeys(Set keySet);

  /**
   * Invalidate from near cache the given key.
   */
  void invalidateKey(Object id);

  /**
   * Clear the near cache.
   */
  void invalidateClear();
}