public class JdbcCacheBackingImpl extends JdbcCacheBacking
Constructor and Description |
---|
JdbcCacheBackingImpl() |
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) |
void |
updateTime(DistCacheEntry entry) |
void |
write(DistCacheEntry entry) |
toString
public void setDatabase(javax.sql.DataSource database)
setDatabase
in class JdbcCacheBacking
public void setTableName(java.lang.String tableName)
setTableName
in class JdbcCacheBacking
@PostConstruct public void init()
init
in class JdbcCacheBacking
public void load(DistCacheEntry entry, CacheLoaderCallback cb)
load
in interface CacheLoaderExt<java.lang.Object,java.lang.Object>
load
in class JdbcCacheBacking
public void write(DistCacheEntry entry)
write
in interface CacheWriterExt<java.lang.Object,java.lang.Object>
write
in class JdbcCacheBacking
public void delete(DistCacheEntry entry)
delete
in interface CacheWriterExt<java.lang.Object,java.lang.Object>
delete
in class JdbcCacheBacking
public void updateTime(DistCacheEntry entry)
updateTime
in interface CacheWriterExt<java.lang.Object,java.lang.Object>
updateTime
in class AbstractCacheBacking<java.lang.Object,java.lang.Object>