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

Public Member Functions

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

Static Public Attributes

static constexpr std::chrono::milliseconds kDefaultTimeout
 
static constexpr std::chrono::milliseconds kNoTimeout
 

Detailed Description

Definition at line 13 of file store_handler.h.

Field Documentation

constexpr std::chrono::milliseconds caffe2::StoreHandler::kDefaultTimeout
static
Initial value:
=
std::chrono::seconds(30)

Definition at line 15 of file store_handler.h.

constexpr std::chrono::milliseconds caffe2::StoreHandler::kNoTimeout
static
Initial value:
=
std::chrono::milliseconds::zero()

Definition at line 17 of file store_handler.h.


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