Hi all,
I'm using version 2.0.1. It works fine for setting and getting when I'm not
using expiry time. But when I add expiry time it is not working. My code is
as follows.
Calendar cl =
Calendar.getInstance(TimeZone.getTimeZone("Asia/Culcutta"));
java.util.Date date = new java.util.Date(cl.getTime().getTime() +
(5 * 60 * 1000));
System.out.println("curr : "+ cl.getTime()+" date : "+ date);
mcc.set(query1,crs, date);
But the data get expired before 5 mins. Not even there for more than 1
minute. Am I doing this in wrong way? Do you have any other methods?