/*
- * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
virtual uint64_t currentSize() const override { return cur_size; }
virtual uint64_t currentCount() const override { return n_disk_objects; }
virtual ConfigOption *getOptionTree() const override;
+ virtual bool smpAware() const override { return false; }
void unlinkFile(sfileno f);
// move down when unlink is a virtual method
bool pathIsDirectory(const char *path)const;
int swaplog_fd;
static EVH CleanEvent;
+ static int HandleCleanEvent();
/** Verify that the the CacheDir exists
*
* If this returns < 0, then Squid exits, complains about swap
char const *ioType;
uint64_t cur_size; ///< currently used space in the storage area
uint64_t n_disk_objects; ///< total number of objects stored
+ bool rebuilding_; ///< whether RebuildState is writing the new swap.state
};
} //namespace Ufs