mirror of
https://github.com/netfun2000/ip2region.git
synced 2026-02-27 09:44:31 +08:00
feat:support for concurrent file-based queries
This commit is contained in:
@@ -3,15 +3,15 @@ namespace IP2Region.Net.XDB;
|
||||
public enum CachePolicy
|
||||
{
|
||||
/// <summary>
|
||||
/// no cache , not thread safe!
|
||||
/// no cache
|
||||
/// </summary>
|
||||
File,
|
||||
/// <summary>
|
||||
/// cache vector index , reduce the number of IO operations , not thread safe!
|
||||
/// cache vector index , reduce the number of IO operations
|
||||
/// </summary>
|
||||
VectorIndex,
|
||||
/// <summary>
|
||||
/// default cache policy , cache whole xdb file , thread safe
|
||||
/// default cache policy , cache whole xdb file
|
||||
/// </summary>
|
||||
Content
|
||||
}
|
||||
Reference in New Issue
Block a user