Get all entries stored in memcache

74 views
Skip to first unread message

Rahul Roshan

unread,
Nov 4, 2019, 5:12:26 AM11/4/19
to memcached
Hi Team,

I have a requirement to get all entries stored in memcache whose keys are starting with a known prefix. I can see that Cache interface has iterator method but this is not implemented in memcache. Is there a way to get all entries from memcache and any plan to implement iterator method in memcache?

Thanks.

Iqram Mahmud

unread,
Nov 4, 2019, 1:27:58 PM11/4/19
to rahulro...@gmail.com, memc...@googlegroups.com
--

---
You received this message because you are subscribed to the Google Groups "memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/memcached/02412cc0-aa10-43ed-81be-bad53d4243a3%40googlegroups.com.

Tharanga Gamaethige

unread,
Nov 4, 2019, 2:07:45 PM11/4/19
to memcached
You can use "lru_crawler metadump all" as well. 

Rahul Roshan

unread,
Nov 5, 2019, 12:21:07 AM11/5/19
to memcached
Hi Iqram,

I want to do this in java. Is there any Java API available for this? Please point me to any sample code if available.

Thanks.

On Monday, November 4, 2019 at 11:57:58 PM UTC+5:30, Iqram Mahmud wrote:
On Mon, Nov 4, 2019 at 2:12 AM Rahul Roshan <rahulro...@gmail.com> wrote:
Hi Team,

I have a requirement to get all entries stored in memcache whose keys are starting with a known prefix. I can see that Cache interface has iterator method but this is not implemented in memcache. Is there a way to get all entries from memcache and any plan to implement iterator method in memcache?

Thanks.

--

---
You received this message because you are subscribed to the Google Groups "memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email to memc...@googlegroups.com.

Rahul Roshan

unread,
Nov 5, 2019, 12:21:54 AM11/5/19
to memcached
Hi Tharanga,

I want to do this in java. Is there any Java API available for this?

Reply all
Reply to author
Forward
0 new messages