public class SimpleCache extends Object implements CleanCloseable
Constructor and Description |
---|
SimpleCache(int maxNumberOfCacheEntries) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
forceServerCheckOfCachedItemsForDatabase(String databaseName) |
CachedRequest |
get(String key) |
int |
getCurrentSize() |
void |
set(String key,
CachedRequest val) |
public void set(String key, CachedRequest val)
public CachedRequest get(String key)
public int getCurrentSize()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface CleanCloseable
public void forceServerCheckOfCachedItemsForDatabase(String databaseName)
Copyright © 2016. All Rights Reserved.