Custom cache item.
More...
|
| static CacheItem | Create () |
| | Creates a new item.
|
| |
|
int | size |
| | Size of the item.
|
| |
|
int | hash |
| | Hash of the key.
|
| |
|
string | key |
| | Key of the item.
|
| |
|
long | time |
| | Creation time.
|
| |
◆ CustomCacheItem() [1/2]
| OnlineMapsCache.CustomCacheItem.CustomCacheItem |
( |
string | key, |
|
|
int | size ) |
◆ CustomCacheItem() [2/2]
| OnlineMapsCache.CustomCacheItem.CustomCacheItem |
( |
string | key, |
|
|
int | size, |
|
|
long | time ) |
Constructor.
- Parameters
-
| key | Key |
| size | Size of data |
| time | Creation time |
◆ GetBytes()
Returns value from item.
- Parameters
-
- Returns
- Value or null
◆ GetFullPath()
| string OnlineMapsCache.CustomCacheItem.GetFullPath |
( |
OnlineMapsCache | cache | ) |
|
Returns the full path to the file.
- Parameters
-
- Returns
- Full path to the file