mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
18 lines
439 B
Java
18 lines
439 B
Java
package io.ebean.cache;
|
|
|
|
import io.ebean.config.ServerConfig;
|
|
|
|
/**
|
|
* Plugin that provides a ServerCacheNotify implementation.
|
|
* <p>
|
|
* Is supplied this will be used to send the ServerCacheNotification event to other cluster members.
|
|
* </p>
|
|
*/
|
|
public interface ServerCacheNotifyPlugin {
|
|
|
|
/**
|
|
* Create a ServerCacheNotify implementation given the server configuration.
|
|
*/
|
|
ServerCacheNotify create(ServerConfig serverConfig);
|
|
}
|