public class RedisPersistenceService extends Object implements PersistenceService
| Constructor and Description |
|---|
RedisPersistenceService(OxdServerConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
static org.gluu.service.cache.RedisConfiguration |
asRedisConfiguration(com.fasterxml.jackson.databind.JsonNode node) |
static org.gluu.service.cache.RedisConfiguration |
asRedisConfiguration(OxdServerConfiguration configuration) |
void |
create() |
boolean |
create(Rp rp) |
void |
destroy() |
String |
get(String key) |
Rp |
getRp(String oxdId) |
Set<Rp> |
getRps() |
void |
put(String key,
String value) |
boolean |
remove(String oxdId) |
boolean |
removeAllRps() |
boolean |
update(Rp rp) |
public RedisPersistenceService(OxdServerConfiguration configuration)
public void create()
create in interface PersistenceServicepublic boolean create(Rp rp)
create in interface PersistenceServicepublic boolean update(Rp rp)
update in interface PersistenceServicepublic Rp getRp(String oxdId)
getRp in interface PersistenceServicepublic boolean removeAllRps()
removeAllRps in interface PersistenceServicepublic Set<Rp> getRps()
getRps in interface PersistenceServicepublic void destroy()
destroy in interface PersistenceServicepublic boolean remove(String oxdId)
remove in interface PersistenceServicepublic static org.gluu.service.cache.RedisConfiguration asRedisConfiguration(OxdServerConfiguration configuration) throws Exception
ExceptionCopyright © 2021. All rights reserved.