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

com.turbospaces.ebean.BroadcastChannel Maven / Gradle / Ivy

There is a newer version: 2.0.33
Show newest version
package com.turbospaces.ebean;

import java.util.Collection;
import java.util.Map;

import org.apache.commons.lang3.time.StopWatch;

import io.ebean.cache.ServerCacheNotification;
import io.ebean.cache.ServerCacheType;
import io.vavr.concurrent.Promise;

public interface BroadcastChannel {
    Promise broadcastPutAsync(String cacheKey, ServerCacheType type, String key, Object obj) throws Throwable;
    Promise broadcastPutAllAsync(String cacheKey, ServerCacheType type, Map map) throws Throwable;
    Promise broadcastRemoveAsync(String cacheKey, String key) throws Throwable;
    Promise broadcastRemoveAllAsync(String cacheKey, Collection keys) throws Throwable;
    Promise broadcastClearAllAsync(String cacheKey);
    Promise broadcastClearAllAsync();
    Promise broadcastAsync(ServerCacheNotification notification, String data);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy