com.turbospaces.ebean.BroadcastChannel Maven / Gradle / Ivy
package com.turbospaces.ebean;
import java.util.concurrent.CompletableFuture;
import org.jgroups.util.RspList;
import com.google.common.util.concurrent.FluentFuture;
import io.ebean.cache.ServerCacheNotification;
import io.ebean.cache.ServerCacheType;
public interface BroadcastChannel {
FluentFuture>> broadcastPutAsync(String cacheKey, ServerCacheType type, String key, Object obj);
FluentFuture>> broadcastRemoveAsync(String cacheKey, String key);
FluentFuture>> broadcastClearAllAsync(String cacheKey);
FluentFuture>> broadcastClearAllAsync();
FluentFuture>> broadcastAsync(ServerCacheNotification notification, String data);
}