Camel.UIDCache¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
expired |
r/w |
||
fd |
r/w |
||
filename |
r/w |
||
level |
r/w |
||
size |
r/w |
||
uids |
r/w |
Methods¶
class |
|
|
|
|
|
|
|
|
Details¶
- class Camel.UIDCache¶
- classmethod free_uids(uids)¶
- Parameters:
uids ([
str
]) – an array returned fromCamel.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.