typedef RefCount<Disk> Pointer;
explicit Disk(char const *aType);
- virtual ~Disk();
+ ~Disk() override;
virtual void reconfigure() = 0;
char const *type() const;
virtual void diskFull();
/* Controlled API */
- virtual void create() override;
- virtual StoreEntry *get(const cache_key *) override;
- virtual uint64_t maxSize() const override { return max_size; }
- virtual uint64_t minSize() const override;
- virtual int64_t maxObjectSize() const override;
- virtual void getStats(StoreInfoStats &stats) const override;
- virtual void stat(StoreEntry &) const override;
- virtual void reference(StoreEntry &e) override;
- virtual bool dereference(StoreEntry &e) override;
- virtual void maintain() override;
+ void create() override;
+ StoreEntry *get(const cache_key *) override;
+ uint64_t maxSize() const override { return max_size; }
+ uint64_t minSize() const override;
+ int64_t maxObjectSize() const override;
+ void getStats(StoreInfoStats &stats) const override;
+ void stat(StoreEntry &) const override;
+ void reference(StoreEntry &e) override;
+ bool dereference(StoreEntry &e) override;
+ void maintain() override;
/// whether this disk storage is capable of serving multiple workers
virtual bool smpAware() const = 0;