public class DelayTaskManagerFactory.EhcacheDelayTaskManager extends java.lang.Object implements DelayTaskManagerFactory.DelayTaskManager
Constructor and Description |
---|
DelayTaskManagerFactory.EhcacheDelayTaskManager(java.lang.String providerName, java.lang.String cachePath) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
DelayTaskManagerFactory.TaskInfo |
get(java.lang.String datasourceName, java.lang.Object key) |
java.util.List<java.lang.Object> |
getKeysSortedBySaveTime(java.lang.String datasourceName) |
boolean |
remove(java.lang.String datasourceName, java.lang.Object key) |
boolean |
save(java.lang.String datasourceName, java.lang.Object key, java.lang.Object value) |
public DelayTaskManagerFactory.EhcacheDelayTaskManager(java.lang.String providerName, java.lang.String cachePath)
public java.util.List<java.lang.Object> getKeysSortedBySaveTime(java.lang.String datasourceName)
getKeysSortedBySaveTime
in interface DelayTaskManagerFactory.DelayTaskManager
public boolean save(java.lang.String datasourceName, java.lang.Object key, java.lang.Object value)
save
in interface DelayTaskManagerFactory.DelayTaskManager
public DelayTaskManagerFactory.TaskInfo get(java.lang.String datasourceName, java.lang.Object key)
get
in interface DelayTaskManagerFactory.DelayTaskManager
public boolean remove(java.lang.String datasourceName, java.lang.Object key)
remove
in interface DelayTaskManagerFactory.DelayTaskManager
public void destroy()
destroy
in interface DelayTaskManagerFactory.DelayTaskManager