MySQL Forums
Forum List  »  memcached

Problem regards Storing files inside Memcached server?
Posted by: Sekhar m
Date: October 22, 2013 01:29AM

HI,

I having an input file(.JSON,.jpg,.txt,etc..).That file i need to store into memcached server.
I don't want to convert file to byte[] before passing to memcached server.
If any possibility to store file inside Memcached server?
I am using spymemcached tool.


Example:

MemcachedClient mc=new MemcachedClient(new InetSocketAddress("192.168.7.104",11211));
File file=new File("D:\\test.txt");
mc.set("Key1",3600,file);
mc.get("Key1");


Plz replay if any sollution..
Thanks in Advance..
Sekhar.

Options: ReplyQuote


Subject
Views
Written By
Posted
Problem regards Storing files inside Memcached server?
2426
October 22, 2013 01:29AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.