public class JdbcCacheBacking extends AbstractCacheBacking<java.lang.Object,java.lang.Object>
Modifier | Constructor and Description |
---|---|
|
JdbcCacheBacking() |
protected |
JdbcCacheBacking(boolean dummy) |
Modifier and Type | Method and Description |
---|---|
void |
delete(DistCacheEntry entry) |
void |
init() |
void |
load(DistCacheEntry entry,
CacheLoaderCallback cb) |
void |
setDatabase(javax.sql.DataSource database) |
void |
setTableName(java.lang.String tableName) |
java.lang.String |
toString() |
void |
write(DistCacheEntry entry) |
delete, deleteAll, load, loadAll, updateTime, write, writeAll
public JdbcCacheBacking()
protected JdbcCacheBacking(boolean dummy)
public void setDatabase(javax.sql.DataSource database)
public void setTableName(java.lang.String tableName)
@PostConstruct public void init()
public void load(DistCacheEntry entry, CacheLoaderCallback cb)
load
in interface CacheLoaderExt<java.lang.Object,java.lang.Object>
load
in class AbstractCacheBacking<java.lang.Object,java.lang.Object>
public void write(DistCacheEntry entry)
write
in interface CacheWriterExt<java.lang.Object,java.lang.Object>
write
in class AbstractCacheBacking<java.lang.Object,java.lang.Object>
public void delete(DistCacheEntry entry)
delete
in interface CacheWriterExt<java.lang.Object,java.lang.Object>
delete
in class AbstractCacheBacking<java.lang.Object,java.lang.Object>
public java.lang.String toString()
toString
in class java.lang.Object