Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Protected Member Functions | Protected Attributes
caffe2::FileStoreHandler Class Reference
Inheritance diagram for caffe2::FileStoreHandler:
caffe2::StoreHandler

Public Member Functions

 FileStoreHandler (const std::string &path, const std::string &prefix)
 
virtual void set (const std::string &name, const std::string &data) override
 
virtual std::string get (const std::string &name, const std::chrono::milliseconds &timeout=kDefaultTimeout) override
 
virtual int64_t add (const std::string &name, int64_t value) override
 
virtual bool check (const std::vector< std::string > &names) override
 
virtual void wait (const std::vector< std::string > &names, const std::chrono::milliseconds &timeout=kDefaultTimeout) override
 

Protected Member Functions

std::string realPath (const std::string &path)
 
std::string tmpPath (const std::string &name)
 
std::string objectPath (const std::string &name)
 

Protected Attributes

std::string basePath_
 

Additional Inherited Members

- Static Public Attributes inherited from caffe2::StoreHandler
static constexpr std::chrono::milliseconds kDefaultTimeout
 
static constexpr std::chrono::milliseconds kNoTimeout
 

Detailed Description

Definition at line 7 of file file_store_handler.h.


The documentation for this class was generated from the following files: