Files
ebean/ebean-api/src/main/java/io/ebean/cache/ServerCacheNotifyPlugin.java
T
Rob Bygrave 47dfbb6157 #2864 - Not advertise services configurable via DatabaseConfig.putServiceObject() that are "internal"
"internal" meaning that in terms of module-path they are not in a properly exported package. For example,
they are in a subpackage of io.ebeaninternal
2022-11-10 13:11:08 +13:00

17 lines
429 B
Java

package io.ebean.cache;
import io.ebean.config.DatabaseConfig;
/**
* Plugin that provides a ServerCacheNotify implementation.
* <p>
* Is supplied this will be used to send the ServerCacheNotification event to other cluster members.
*/
public interface ServerCacheNotifyPlugin {
/**
* Create a ServerCacheNotify implementation given the server configuration.
*/
ServerCacheNotify create(DatabaseConfig config);
}