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

cn.ipokerface.weixin.cache.AbstractCacheStorager Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
package cn.ipokerface.weixin.cache;

/**
 * Created by       PokerFace
 * Create Date      2019-12-27.
 * Email:           [email protected]
 * Version          1.0.0
 * 

* Description: */ public interface AbstractCacheStorager { public static final long timeout = 60 * 1000l; /** * get Value of key * * @param key key * @return value */ T lookup(String key); /** * put value to key * * @param key key * @param cache value */ void caching(String key, T cache); /** * remove value of key * * @param key key * @return value */ T delete(String key); /** * remove all keys in cache */ void clear(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy