001package io.ebean.cache;
002
003import io.ebean.config.DatabaseConfig;
004
005/**
006 * Plugin that provides a ServerCacheNotify implementation.
007 * <p>
008 * Is supplied this will be used to send the ServerCacheNotification event to other cluster members.
009 * </p>
010 */
011public interface ServerCacheNotifyPlugin {
012
013  /**
014   * Create a ServerCacheNotify implementation given the server configuration.
015   */
016  ServerCacheNotify create(DatabaseConfig config);
017}