What means that expiration time in Memcached client is set to zero?

966 Views Asked by At

I am looking at the legacy code and see the call to the MemcachedClient

public boolean set(final String key, final int exp, final Object value)
        throws TimeoutException, InterruptedException, MemcachedException;

exp (expiration time) is set as 0 but in the comments I see that it results in 30 days expiration time. According to memcached entry expiration set to 0 that means no expiration at all. What expiration time can I expect?

0

There are 0 best solutions below