On Seg, 2011-11-28 at 18:55 +0530, MCON Dev wrote:
> Hello All,
> 
> I have just started using memcached. I have setup my server and the
> cacti graph reporting environment. The reports seem to show some
> activity, 
...
> "current items" shows nothing
> 
> 
> Nor are my get's successful
> 
> Code 
> cache.set(key, EXPIRY, (Object)row) ; 
> OR
> cache.add(key, EXPIRY, (Object)row) ;
> int EXPIRY = 60*60*24*30*12 ; // 1 year

You can't do that. Max expire is 60*60*24*30, anything bigger than that
will be considered a unix timestamp.

> key value = "-149282939"
> Object = "hibernate table object"
> 
> Question is how to debug if memcached has this value (for a particular
> key) or not. With mySql you can do a simple db query to find out.

You go a get.



Reply via email to