/*
- * Copyright (C) 1996-2018 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
class Storage: public RefCountable
{
public:
- virtual ~Storage() {}
+ ~Storage() override {}
/// create system resources needed for this store to operate in the future
virtual void create() = 0;
/**
* Output stats to the provided store entry.
- \todo make these calls asynchronous
+ * TODO: make these calls asynchronous
*/
virtual void stat(StoreEntry &e) const = 0;
/// prepare for shutdown
virtual void sync() {}
-
- /// whether this storage is capable of serving multiple workers;
- /// a true result does not imply [lack of] non-SMP support because
- /// [only] some SMP-aware storages also support non-SMP configss
- virtual bool smpAware() const = 0;
};
} // namespace Store