Public Member Functions | |
REGISTER_RPC_FUNCTIONS (VolatileUnloggedObjectStore, orderedPut, orderedRemove, orderedGet, put, remove, get, get_by_time) | |
std::tuple< version_t, uint64_t > | get_version () |
virtual std::tuple< version_t, uint64_t > | put (const Object &object) |
virtual std::tuple< version_t, uint64_t > | remove (const OID &oid) |
virtual const Object | get (const OID &oid, const version_t &ver) |
virtual const Object | get_by_time (const OID &oid, const uint64_t &ts_us) |
virtual std::tuple< version_t, uint64_t > | orderedPut (const Object &object) |
virtual std::tuple< version_t, uint64_t > | orderedRemove (const OID &oid) |
virtual const Object | orderedGet (const OID &oid) |
DEFAULT_SERIALIZE (objects) | |
DEFAULT_DESERIALIZE_NOALLOC (VolatileUnloggedObjectStore) | |
void | ensure_registered (mutils::DeserializationManager &) |
VolatileUnloggedObjectStore (const ObjectWatcher &ow) | |
VolatileUnloggedObjectStore (const std::map< OID, Object > &_objects, const ObjectWatcher &ow) | |
VolatileUnloggedObjectStore (std::map< OID, Object > &&_objects, const ObjectWatcher &ow) | |
Public Member Functions inherited from mutils::ByteRepresentable | |
virtual std::size_t | to_bytes (char *v) const =0 |
Write this class's marshalled representation into the array found at v. More... | |
virtual void | post_object (const std::function< void(char const *const, std::size_t)> &) const =0 |
Pass a pointer to a buffer containing this class's marshalled representation into the function f. More... | |
virtual std::size_t | bytes_size () const =0 |
the size of the marshalled representation of this object. More... | |
virtual | ~ByteRepresentable () |
Public Member Functions inherited from derecho::GroupReference | |
void | set_group_pointers (_Group *group, uint32_t subgroup_index) |
Static Public Member Functions | |
static std::unique_ptr< VolatileUnloggedObjectStore > | from_bytes (mutils::DeserializationManager *dsm, char const *buf) |
Public Attributes | |
std::map< OID, Object > | objects |
const ObjectWatcher | object_watcher |
const Object | inv_obj |
Public Attributes inherited from derecho::GroupReference | |
_Group * | group |
uint32_t | subgroup_index |
Definition at line 117 of file ObjectStore.cpp.
|
inline |
Definition at line 241 of file ObjectStore.cpp.
|
inline |
Definition at line 242 of file ObjectStore.cpp.
|
inline |
Definition at line 243 of file ObjectStore.cpp.
objectstore::VolatileUnloggedObjectStore::DEFAULT_DESERIALIZE_NOALLOC | ( | VolatileUnloggedObjectStore | ) |
objectstore::VolatileUnloggedObjectStore::DEFAULT_SERIALIZE | ( | objects | ) |
|
inline |
Definition at line 238 of file ObjectStore.cpp.
|
inlinestatic |
Definition at line 224 of file ObjectStore.cpp.
|
inlinevirtual |
Implements objectstore::IObjectStoreAPI.
Definition at line 166 of file ObjectStore.cpp.
|
inlinevirtual |
Implements objectstore::IObjectStoreAPI.
Definition at line 182 of file ObjectStore.cpp.
|
inline |
Definition at line 136 of file ObjectStore.cpp.
|
inlinevirtual |
Implements objectstore::IReplica.
Definition at line 212 of file ObjectStore.cpp.
|
inlinevirtual |
Implements objectstore::IReplica.
Definition at line 190 of file ObjectStore.cpp.
|
inlinevirtual |
Implements objectstore::IReplica.
Definition at line 203 of file ObjectStore.cpp.
|
inlinevirtual |
Implements objectstore::IObjectStoreAPI.
Definition at line 142 of file ObjectStore.cpp.
objectstore::VolatileUnloggedObjectStore::REGISTER_RPC_FUNCTIONS | ( | VolatileUnloggedObjectStore | , |
orderedPut | , | ||
orderedRemove | , | ||
orderedGet | , | ||
put | , | ||
remove | , | ||
get | , | ||
get_by_time | |||
) |
|
inlinevirtual |
Implements objectstore::IObjectStoreAPI.
Definition at line 154 of file ObjectStore.cpp.
const Object objectstore::VolatileUnloggedObjectStore::inv_obj |
Definition at line 125 of file ObjectStore.cpp.
const ObjectWatcher objectstore::VolatileUnloggedObjectStore::object_watcher |
Definition at line 124 of file ObjectStore.cpp.
Definition at line 123 of file ObjectStore.cpp.