Code example for LoadingCache

Methods: put

0
 
    public void put(String id, T value) {
        if (id == null || value == null) {
            return; 
        } 
        loadingCache.put(id, Optional.fromNullable(value));
    } 
 
    public void clear() { 
        loadingCache.invalidateAll();
    } 
 
} 
Connect your IDE to all the code out there  Get Codota for Java