public class CloudFlareDatabase extends DatabaseUsable
| Modifier and Type | Field and Description |
|---|---|
private static String |
CLOUDFLARE_CACHE |
private static String |
CLOUDFLARE_CACHE_REQ |
database| Constructor and Description |
|---|
CloudFlareDatabase(Database database) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(PostResponse postResponse) |
boolean |
contains(CloudFlareConfig cloudFlareConfig,
String wrapper) |
Collection<String> |
getAll() |
Map<String,MultiValue<PostResponse,String>> |
getAndRemove() |
PostResponse |
getResponse(String wrapper) |
void |
putPostResponse(MultiValue<PostResponse,String> postResponse) |
void |
remove(PostResponse postResponse) |
void |
remove(String wrapper) |
getDatabaseprivate static final String CLOUDFLARE_CACHE
private static final String CLOUDFLARE_CACHE_REQ
public CloudFlareDatabase(Database database)
public Collection<String> getAll()
public void putPostResponse(MultiValue<PostResponse,String> postResponse)
public boolean contains(CloudFlareConfig cloudFlareConfig, String wrapper)
public void remove(String wrapper)
public PostResponse getResponse(String wrapper)
public void add(PostResponse postResponse)
public void remove(PostResponse postResponse)
public Map<String,MultiValue<PostResponse,String>> getAndRemove()
Copyright © 2020. All rights reserved.