Reviewed by Tim Hatcher's rubberstamp
[WebKit-https.git] / WebKit / Misc / WebFileDatabase.h
index bff3970f60828a6cae5f966f8810c8daf4838950..54d9ee69ef445084e04b62b4a906a4ce869f721f 100644 (file)
     unsigned count;
     BOOL isOpen;
     unsigned sizeLimit;
-
+    unsigned usage;
+    
+    struct WebLRUFileList *lru;
+    NSMutableArray *ops;
+    NSMutableDictionary *setCache;
+    NSMutableSet *removeCache;
+    
+    NSTimer *timer;
+    NSTimeInterval touch;
+    NSRecursiveLock *mutex;
 }
 
+- (void)setObject:(id)object forKey:(id)key;
+- (void)removeObjectForKey:(id)key;
+- (void)removeAllObjects;
 - (id)objectForKey:(id)key;
 
 - (id)initWithPath:(NSString *)thePath;
 
 - (void)open;
 - (void)close;
+- (void)sync;
 
 - (NSString *)path;
 - (BOOL)isOpen;
 
+- (unsigned)count;
+- (unsigned)sizeLimit;
+- (void)setSizeLimit:(unsigned)limit;
+- (unsigned)usage;
+
+- (void)performSetObject:(id)object forKey:(id)key;
+- (void)performRemoveObjectForKey:(id)key;
+
 @end