Infinispan HotRod C++ Client
8.3.1.Final
|
#include <Transactions.h>
Classes | |
struct | ContextEntry |
Public Types | |
enum | Action { SET, DELETED } |
enum | ControlBit { NONE = 0x00, NOT_READ = 0x01, NON_EXISTING = 0x02, REMOVE_OP = 0x04 } |
Public Member Functions | |
TransactionRemoteStatus | getStatus () const |
void | setPrepared (TransactionRemoteStatus status) |
bool | hasValue (const std::vector< char > &key) |
bool | isDeleted (const std::vector< char > &key) |
const void * | getValue (const std::vector< char > &key) |
ContextEntry & | getEntry (std::vector< char > &key) |
void | addValue (std::vector< char > &key, const void *value, MetadataValue &meta, std::function< void(const void *)> deleter, std::function< void(const void *, std::vector< char > &)> valueMarshaller, ControlBit cb=NONE) |
void | setValue (std::vector< char > &key, const void *value, MetadataValue &meta, std::function< void(const void *)> deleter, std::function< void(const void *, std::vector< char > &)> valueMarshaller) |
void | setValueAsDeleted (std::vector< char > &key) |
void | removeEntry (const std::vector< char > &key) |
void | clear () |
void | getBulk (int size, std::map< std::vector< char >, const void * > &mbuf) |
int | size () |
A transaction context for the RemoteCacheBase class
void infinispan::hotrod::TransactionContext::addValue | ( | std::vector< char > & | key, |
const void * | value, | ||
MetadataValue & | meta, | ||
std::function< void(const void *)> | deleter, | ||
std::function< void(const void *, std::vector< char > &)> | valueMarshaller, | ||
ControlBit | cb = NONE |
||
) |
void infinispan::hotrod::TransactionContext::clear | ( | ) |
void infinispan::hotrod::TransactionContext::getBulk | ( | int | size, |
std::map< std::vector< char >, const void * > & | mbuf | ||
) |
ContextEntry& infinispan::hotrod::TransactionContext::getEntry | ( | std::vector< char > & | key | ) |
|
inline |
const void* infinispan::hotrod::TransactionContext::getValue | ( | const std::vector< char > & | key | ) |
bool infinispan::hotrod::TransactionContext::hasValue | ( | const std::vector< char > & | key | ) |
bool infinispan::hotrod::TransactionContext::isDeleted | ( | const std::vector< char > & | key | ) |
void infinispan::hotrod::TransactionContext::removeEntry | ( | const std::vector< char > & | key | ) |
|
inline |
void infinispan::hotrod::TransactionContext::setValue | ( | std::vector< char > & | key, |
const void * | value, | ||
MetadataValue & | meta, | ||
std::function< void(const void *)> | deleter, | ||
std::function< void(const void *, std::vector< char > &)> | valueMarshaller | ||
) |
void infinispan::hotrod::TransactionContext::setValueAsDeleted | ( | std::vector< char > & | key | ) |
int infinispan::hotrod::TransactionContext::size | ( | ) |