public class MemoryEntryExecutor extends java.lang.Object implements EntryExecutor
构造器和说明 |
---|
MemoryEntryExecutor() |
限定符和类型 | 方法和说明 |
---|---|
void |
buildCache()
初始化cachTree
将模板啊分析啊读出来
|
boolean |
cache(Entry entry)
已过时。
|
void |
clearCache()
清理所有的缓存信息
|
Entry |
getCacheEntry(int type,
long entryid)
已过时。
|
java.lang.Class |
getClassKey()
缓存器的class标识
|
EntryTreeFolderNode |
getFolderTreeNode(long folderId)
已过时。
|
static EntryExecutor |
getInstance() |
EntryTreeFolderNode |
getRootNode()
已过时。
|
void |
rebuildCache()
重新初始化cachTree
|
void |
removeCache(int type,
long id)
已过时。
|
public EntryTreeFolderNode getRootNode()
getRootNode
在接口中 EntryExecutor
MemoryEntryExecutor#getInstance#getRootNode
public void buildCache() throws java.lang.Exception
buildCache
在接口中 CacheExecutor
java.lang.Exception
public EntryTreeFolderNode getFolderTreeNode(long folderId)
getFolderTreeNode
在接口中 EntryExecutor
folderId
- 文件夹idgetInstance()
public void removeCache(int type, long id)
removeCache
在接口中 EntryExecutor
type
- entry的类型id
- entry的idgetInstance()
public boolean cache(Entry entry)
cache
在接口中 EntryExecutor
entry
- 实体getInstance()
public Entry getCacheEntry(int type, long entryid)
getCacheEntry
在接口中 EntryExecutor
type
- entry的类型entryid
- idgetInstance()
public static EntryExecutor getInstance()
public void rebuildCache() throws java.lang.Exception
rebuildCache
在接口中 CacheExecutor
java.lang.Exception
public void clearCache() throws java.lang.Exception
CacheExecutor
clearCache
在接口中 CacheExecutor
java.lang.Exception
public java.lang.Class getClassKey()
CacheExecutor
getClassKey
在接口中 CacheExecutor