public interface Cache
| Modifier and Type | Interface and Description |
|---|---|
static class |
Cache.BuiltInCache |
static interface |
Cache.Callback |
static class |
Cache.DefaultCache |
static class |
Cache.NoCache |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
get(String key) |
com.fasterxml.jackson.databind.JsonNode |
getOrSet(String key,
Long ttl,
Cache.Callback f) |
Boolean |
isExpired(String key) |
Boolean |
isPending(String key) |
void |
set(String key,
Long ttl,
com.fasterxml.jackson.databind.JsonNode response) |
com.fasterxml.jackson.databind.JsonNode get(String key)
com.fasterxml.jackson.databind.JsonNode getOrSet(String key, Long ttl, Cache.Callback f)
Copyright © 2014. All rights reserved.