API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.utils.caching. CacheProvider View Javadoc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package net.jot.utils.caching;

/**
 *
 * @author thibautc
 */
public interface CacheProvider {

    /**
     * If an object is not cached yet, this will be called to get it.
     * This will be called synchronized.
     * @param key
     * @return
     */
    public abstract Object readCacheItem(Object key) throws Exception;
}

Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar