Camel.UIDCache¶
Fields¶
| Name | Type | Access | Description | 
|---|---|---|---|
| expired | int | r/w | |
| fd | int | r/w | |
| filename | str | r/w | |
| level | int | r/w | |
| size | int | r/w | |
| uids | { object:object} | r/w | 
Details¶
- 
class Camel.UIDCache¶
- 
classmethod free_uids(uids)¶
- Parameters: - uids ([ - str]) – an array returned from- Camel.UIDCache.get_new_uids()- Frees the array of UIDs. 
 - 
destroy()¶
- Destroys self and frees its data. 
 - 
get_new_uids(uids)¶
- Parameters: - uids ([ - str]) – an array of UIDs- Returns: - an array of new UIDs, which must be freed with - Camel.UIDCache.free_uids().- Return type: - [ - str]- Returns an array of UIDs from uids that are not in self, and removes UIDs from self that aren’t in uids. 
 
- 
classmethod