24 #include <boost/shared_ptr.hpp>
26 #include "soss_client/exceptions.h"
27 #include "soss_client/internal/soss_handle.h"
28 #include "soss_client/internal/client_cache.h"
29 #include "soss_client/soss_key.h"
30 #include "soss_client/remove_result.h"
31 #include "soss_client/object_policy.h"
32 #include "soss_client/get_options.h"
33 #include "soss_client/get_result.h"
34 #include "soss_client/put_result.h"
35 #include "soss_client/object_policy.h"
36 #include "soss_client/object_metadata.h"
37 #include "soss_client/lock_ticket.h"
38 #include "soss_client/lock_options.h"
39 #include "soss_client/lock_result.h"
40 #include "soss_client/query_result.h"
41 #include "soss_client/pmicli_invoke_options.h"
42 #include "soss_client/pmicli_invoke_result.h"
43 #include "soss_client/filter.h"
45 #include "soss_svccli.h"
75 RemoveResult remove(
SossKey key,
bool object_may_not_exist =
true,
bool throw_on_error =
true);
143 int32_t
clear(
bool throw_on_error =
true);
179 boost::shared_ptr<QueryResult>
query(
const Filter &filter,
bool throw_on_error =
true);
195 uint32_t
app_id()
const {
return app_id_;}
201 std::string
name()
const {
return name_;}
225 boost::posix_time::time_duration
timeout()
const {
return timeout_; }
280 SOSSLIB_OBJ_PARAMS_EXT ©_to(SOSSLIB_OBJ_PARAMS_EXT ¶ms)
const;
282 boost::posix_time::time_duration timeout_;
285 bool allow_push_repl_;
286 bool use_client_cache_;
287 bool throw_on_error_;
288 int32_t max_lock_retry_count_;
289 int32_t lock_retry_interval_ms_;
290 int32_t max_read_pending_attempts_;
291 int32_t read_pending_retry_interval_ms_;
322 virtual void serialize_filter(
const Filter &filter, std::vector<uint8_t> &bytes_out,
size_t bytes_to_reserve_for_header) {}