public class IdsCacheImpl extends Object implements com.fujieid.jap.core.cache.JapCache
| Constructor and Description |
|---|
IdsCacheImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(String key)
Determine whether a key exists in the cache
|
Serializable |
get(String key)
Get cache value
|
void |
removeKey(String key)
Delete the key from the cache
|
void |
set(String key,
Serializable value)
Set cache
|
void |
set(String key,
Serializable value,
long timeout)
Set the cache and specify the expiration time of the cache
|
public void set(String key, Serializable value)
set in interface com.fujieid.jap.core.cache.JapCachekey - Cache keyvalue - Cache value after serializationpublic void set(String key, Serializable value, long timeout)
set in interface com.fujieid.jap.core.cache.JapCachekey - Cache keyvalue - Cache value after serializationtimeout - The expiration time of the cache, in millisecondspublic Serializable get(String key)
get in interface com.fujieid.jap.core.cache.JapCachekey - Cache keypublic boolean containsKey(String key)
containsKey in interface com.fujieid.jap.core.cache.JapCachekey - Cache keypublic void removeKey(String key)
removeKey in interface com.fujieid.jap.core.cache.JapCachekey - Cache keyCopyright © 2025. All rights reserved.