Метод | Описание | |
---|---|---|
BatchInsertOrUpdate ( List |
批量插入/更新记录,比逐个插入/更新方式速度更快,待操作的记录越多对比越明显
|
|
CreateCachedHashDB ( string localHashDBPath ) : void | ||
GetAllItems ( |
||
GetAllKeys ( |
||
GetCachedHashByLocalPath ( string localPath, |
||
InsertCachedHash ( string localPath, string etag, string lastModified, |
||
InsertOrUpdateCachedHash ( string localPath, string etag, string lastModified, |
||
UpdateCachedHash ( string localPath, string etag, string lastModified, |
public static BatchInsertOrUpdate ( List |
||
fileItems | List |
|
hashDBConn | ||
Результат | void |
public static CreateCachedHashDB ( string localHashDBPath ) : void | ||
localHashDBPath | string | |
Результат | void |
public static GetAllItems ( |
||
hashDBConn | ||
Результат | string>.Dictionary |
public static GetAllKeys ( |
||
hashDBConn | ||
Результат | List |
public static GetCachedHashByLocalPath ( string localPath, |
||
localPath | string | |
localHashDB | ||
Результат |
public static InsertCachedHash ( string localPath, string etag, string lastModified, |
||
localPath | string | |
etag | string | |
lastModified | string | |
localHashDB | ||
Результат | void |
public static InsertOrUpdateCachedHash ( string localPath, string etag, string lastModified, |
||
localPath | string | |
etag | string | |
lastModified | string | |
localHashDB | ||
Результат | void |
public static UpdateCachedHash ( string localPath, string etag, string lastModified, |
||
localPath | string | |
etag | string | |
lastModified | string | |
localHashDB | ||
Результат | void |