com.litongjava.cache.IDbCache Maven / Gradle / Ivy
package com.litongjava.cache;
/**
* ICache.
*/
public interface IDbCache {
T get(String cacheName, Object key);
void put(String cacheName, Object key, Object value);
void put(String cacheName, Object key, Object value, int ttl);
void remove(String cacheName, Object key);
void removeAll(String cacheName);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy