Subversion Repositories SmartDukaan

Rev

Rev 19048 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19048 Rev 19056
Line 16... Line 16...
16
    }
16
    }
17
 
17
 
18
    public void put(final K key, final V value)
18
    public void put(final K key, final V value)
19
    {
19
    {
20
    	Element element = new Element(key, value);
20
    	Element element = new Element(key, value);
21
    	element.setTimeToLive(86400);
21
    	//element.setTimeToLive(86400);
22
    	getCache().put(element);
22
    	getCache().put(element);
23
    }
23
    }
24
 
24
 
25
    @SuppressWarnings("unchecked")
25
    @SuppressWarnings("unchecked")
26
    public V get(final K key) 
26
    public V get(final K key)