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

com.base4j.cache.CacheBroadcastChannel Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package com.base4j.cache;

/**
 * 缓存通信通道接口类
 *
 * @author FY
 */
public interface CacheBroadcastChannel {

    void onDeleteCacheKey(String region, Object key) throws CacheException;

    /**
     * 发送缓存变更的广播
     * @param optKey cache opt key
     * @param region cache region
     * @param key cache key
     * @throws CacheException 抛出异常
     */
    void sendCmdBroadcast(byte optKey, String region, Object key) throws CacheException;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy