public class EntryCache
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
static long |
ROOT_FOLDER_ID |
| 构造器和说明 |
|---|
EntryCache() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
cache(Entry entry)
已过时。
|
static Entry |
getCacheEntry(int type,
long entryid)
已过时。
|
static EntryTreeFolderNode |
getFolderTreeNode(long folderId)
已过时。
|
static long |
getParentFolderID(int type,
long entryid)
已过时。
|
static EntryTreeFolderNode |
getRootNode()
已过时。
|
static void |
initCacheTree()
初始化cachTree
将模板啊分析啊读出来
|
static void |
reInit()
重新初始化cachTree
|
static void |
removeCache(int type,
long id)
已过时。
|
public static final long ROOT_FOLDER_ID
public static void initCacheTree()
throws java.lang.Exception
java.lang.Exceptionpublic static void reInit()
throws java.lang.Exception
java.lang.Exceptionpublic static EntryTreeFolderNode getRootNode()
MemoryEntryExecutor#getInstance#getRootNodepublic static EntryTreeFolderNode getFolderTreeNode(long folderId)
folderId - 文件夹idMemoryEntryExecutor.getInstance()public static long getParentFolderID(int type,
long entryid)
type - entry的类型entryid - idMemoryEntryExecutor.getInstance()public static Entry getCacheEntry(int type, long entryid)
type - entry的类型entryid - idMemoryEntryExecutor.getInstance()public static boolean cache(Entry entry)
entry - 实体MemoryEntryExecutor.getInstance()public static void removeCache(int type,
long id)
type - entry的类型id - entry的idMemoryEntryExecutor.getInstance()