CWLocalCacheManager |
This class provides trivial extensions to the CWCacheManager superclass for CWLocalFolder instances.
Superclass
CWCacheManager
Declared In
fileSize |
- (unsigned int) fileSize;
The size.
This method is used to obtain the size of the associated CWLocalFolder's mailbox.
initWithPath:folder: |
- (id) initWithPath: (NSString *) thePath folder: (id) theFolder;
A CWLocalCacheManager instance, nil otherwise.
This is the designated initialization method for the local cache manager.
modificationDate |
- (NSDate *) modificationDate;
The date.
This method is used to obtain the modification date of the receiver. That is, the last time the cache was written to disk.
readAllMessages |
- (void) readAllMessages;
readMessagesInRange: |
- (void) readMessagesInRange: (NSRange) theRange;
setFileSize: |
- (void) setFileSize: (unsigned int) theSize;
This method is used to set the size of the associated LocalFolder's mailbox. Normally you should not invoke this method directly.
setModificationDate: |
- (void) setModificationDate: (NSDate *) theDate;
This method is used to set the modification date of the receiver. Normally you should not invoke this method directly.
writeRecord: |
- (void) writeRecord: (cache_record *) theRecord;
This method is used to write a cache record to disk.
_folder |
private
CWFolder *_folder;
_modification_date |
private
unsigned int _modification_date;
_size |
private
unsigned int _size;