Derecho  0.9
Distributed systems toolkit for RDMA
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
objectstore::IObjectStoreService Class Referenceabstract

#include <ObjectStore.hpp>

Inheritance diagram for objectstore::IObjectStoreService:
Inheritance graph
[legend]
Collaboration diagram for objectstore::IObjectStoreService:
Collaboration graph
[legend]

Public Member Functions

virtual const bool isReplica ()=0
 
virtual std::tuple< version_t, uint64_t > bio_put (const Object &object, const bool &force_client=false)=0
 
virtual std::tuple< version_t, uint64_t > bio_remove (const OID &oid, const bool &force_client=false)=0
 
virtual Object bio_get (const OID &oid, const version_t &ver=INVALID_VERSION, const bool &force_client=false)=0
 
virtual Object bio_get (const OID &oid, const uint64_t &ts_us)=0
 
virtual derecho::rpc::QueryResults< std::tuple< version_t, uint64_t > > aio_put (const Object &object, const bool &force_client=false)=0
 
virtual derecho::rpc::QueryResults< std::tuple< version_t, uint64_t > > aio_remove (const OID &oid, const bool &force_client=false)=0
 
virtual derecho::rpc::QueryResults< const Objectaio_get (const OID &oid, const version_t &ver=INVALID_VERSION, const bool &force_client=false)=0
 
virtual derecho::rpc::QueryResults< const Objectaio_get (const OID &oid, const uint64_t &ts_us)=0
 
virtual void leave (bool group_shutdown=false)=0
 
virtual const ObjectWatchergetObjectWatcher ()=0
 
- Public Member Functions inherited from mutils::RemoteDeserializationContext
 RemoteDeserializationContext (const RemoteDeserializationContext &)=delete
 
 RemoteDeserializationContext (const RemoteDeserializationContext &&)=delete
 
virtual ~RemoteDeserializationContext ()
 
 RemoteDeserializationContext ()
 

Static Public Member Functions

static IObjectStoreServicegetObjectStoreService (int argc, char **argv, const ObjectWatcher &ow={})
 

Static Private Attributes

static std::shared_ptr< IObjectStoreServicesingleton
 

Detailed Description

Definition at line 13 of file ObjectStore.hpp.

Member Function Documentation

◆ aio_get() [1/2]

virtual derecho::rpc::QueryResults<const Object> objectstore::IObjectStoreService::aio_get ( const OID oid,
const version_t ver = INVALID_VERSION,
const bool &  force_client = false 
)
pure virtual

◆ aio_get() [2/2]

virtual derecho::rpc::QueryResults<const Object> objectstore::IObjectStoreService::aio_get ( const OID oid,
const uint64_t &  ts_us 
)
pure virtual

◆ aio_put()

virtual derecho::rpc::QueryResults<std::tuple<version_t,uint64_t> > objectstore::IObjectStoreService::aio_put ( const Object object,
const bool &  force_client = false 
)
pure virtual

◆ aio_remove()

virtual derecho::rpc::QueryResults<std::tuple<version_t,uint64_t> > objectstore::IObjectStoreService::aio_remove ( const OID oid,
const bool &  force_client = false 
)
pure virtual

◆ bio_get() [1/2]

virtual Object objectstore::IObjectStoreService::bio_get ( const OID oid,
const version_t ver = INVALID_VERSION,
const bool &  force_client = false 
)
pure virtual

◆ bio_get() [2/2]

virtual Object objectstore::IObjectStoreService::bio_get ( const OID oid,
const uint64_t &  ts_us 
)
pure virtual

◆ bio_put()

virtual std::tuple<version_t,uint64_t> objectstore::IObjectStoreService::bio_put ( const Object object,
const bool &  force_client = false 
)
pure virtual

◆ bio_remove()

virtual std::tuple<version_t,uint64_t> objectstore::IObjectStoreService::bio_remove ( const OID oid,
const bool &  force_client = false 
)
pure virtual

◆ getObjectStoreService()

IObjectStoreService & objectstore::IObjectStoreService::getObjectStoreService ( int  argc,
char **  argv,
const ObjectWatcher ow = {} 
)
static

Definition at line 959 of file ObjectStore.cpp.

◆ getObjectWatcher()

virtual const ObjectWatcher& objectstore::IObjectStoreService::getObjectWatcher ( )
pure virtual

◆ isReplica()

virtual const bool objectstore::IObjectStoreService::isReplica ( )
pure virtual

◆ leave()

virtual void objectstore::IObjectStoreService::leave ( bool  group_shutdown = false)
pure virtual

Member Data Documentation

◆ singleton

std::shared_ptr< IObjectStoreService > objectstore::IObjectStoreService::singleton
staticprivate

Definition at line 15 of file ObjectStore.hpp.


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