Modifier and Type | Field and Description |
---|---|
protected org.apache.logging.log4j.Logger |
log |
Constructor and Description |
---|
ApiMemcached() |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Removes all items in the cache.
|
boolean |
containsKey(String key)
Checks whether or not an object has previously been stored in the cache
|
void |
destroy()
Closes the cache.
|
Object |
get(String key)
Retrieve an object from the cache
|
void |
put(String key,
Object value)
Place an object in the cache
|
void |
put(String key,
Object value,
int ttl)
Place an object in the cache
|
boolean |
remove(String key)
Remove an object from the cache
|
public Object get(String key)
IApiCache
public void put(String key, Object value)
IApiCache
public void put(String key, Object value, int ttl)
IApiCache
public boolean remove(String key)
IApiCache
public boolean containsKey(String key)
IApiCache
containsKey
in interface IApiCache
key
- name of the object to findpublic void clear()
IApiCache
Copyright © 2023 Frank!Framework. All rights reserved.