summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_lib.h
diff options
context:
space:
mode:
authorMatt Benjamin <mbenjamin@redhat.com>2015-10-26 22:18:06 +0100
committerMatt Benjamin <mbenjamin@redhat.com>2016-02-12 18:05:08 +0100
commite562357bba913ce07dadaec21a4c177f7633eb00 (patch)
treea7426a30806995fac5f6841806ccbcacf36ef629 /src/rgw/rgw_lib.h
parentlibrgw: incremental RGWPutObj work and almost-complete RGWFH refactor. (diff)
downloadceph-e562357bba913ce07dadaec21a4c177f7633eb00.tar.xz
ceph-e562357bba913ce07dadaec21a4c177f7633eb00.zip
librgw: reify root handles
Reify root handle, remove traces of legacy (counter) handles. Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Diffstat (limited to '')
-rw-r--r--src/rgw/rgw_lib.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/rgw/rgw_lib.h b/src/rgw/rgw_lib.h
index 6bec854efd8..546d3b395cb 100644
--- a/src/rgw/rgw_lib.h
+++ b/src/rgw/rgw_lib.h
@@ -24,9 +24,7 @@ class RGWLib {
RGWREST rest; // XXX needed for RGWProcessEnv
RGWProcessEnv env;
RGWRados* store;
- ceph::unordered_map<string, uint64_t> allocated_objects_handles;
- ceph::unordered_map<uint64_t, string> handles_map;
- atomic64_t last_allocated_handle;
+
public:
RGWLib() {}
~RGWLib() {}
@@ -38,15 +36,6 @@ public:
int init();
int init(vector<const char *>& args);
int stop();
-
- /* generate dynamic handle currently unique per librgw object */
- uint64_t get_handle(const string& url);
-
- /* look for a matching handle (by number) */
- int check_handle(uint64_t handle);
-
- /* return the saved uri corresponding to handle */
- int get_uri(const uint64_t handle, string &uri);
};
/* request interface */