Request list for use with TransactionSingleOp.req_list() which does
not support commits.
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
add_add_del_on_list(self,
key,
to_add,
to_remove)
Adds a add_del_on_list operation to the request list. |
source code
|
|
|
add_add_on_nr(self,
key,
to_add)
Adds a add_on_nr operation to the request list. |
source code
|
|
|
add_read(self,
key)
Adds a read operation to the request list. |
source code
|
|
|
add_test_and_set(self,
key,
old_value,
new_value)
Adds a test_and_set operation to the request list. |
source code
|
|
|
add_write(self,
key,
value)
Adds a write operation to the request list. |
source code
|
|
|
extend(self,
other)
Adds all requests of the other request list to the end of this list. |
source code
|
|
|
get_requests(self)
Gets the collected requests. |
source code
|
|
|
is_commit(self)
Returns whether the transactions contains a commit or not. |
source code
|
|
|
is_empty(self)
Checks whether the request list is empty. |
source code
|
|
|
size(self)
Gets the number of requests in the list. |
source code
|
|