class
#include <eckit/io/rados/RadosCluster.h>
RadosCluster
Public static functions
- static auto instance() -> const RadosCluster&
- static void error(int code, const char* msg, const char* file, int line, const char* func)
Public functions
-
auto ioCtx(const std::
string& pool) const -> rados_ioctx_t& - auto ioCtx(const RadosObject& object) const -> rados_ioctx_t&
- auto maxObjectSize() const -> Length
- auto cluster() const -> rados_t
-
void ensurePool(const std::
string& pool) const - void ensurePool(const RadosObject& object) const
- void attributes(const RadosObject&, const RadosAttributes&) const
- auto attributes(const RadosObject&) const -> RadosAttributes
- auto exists(const RadosObject&) const -> bool
- auto size(const RadosObject&) const -> Length
- void remove(const RadosObject&) const
- void truncate(const RadosObject&, const Length& = 0) const
- auto lastModified(const RadosObject&) const -> time_t
- void removeAll(const RadosObject&) const