@Deprecated
    public static <K, V> ConcurrentMap<K, V> createCacheMap() {
        Cache<K, V> cache = CacheBuilder.newBuilder().maximumSize(10000).build();
        return cache.asMap();
    }
@ Deprecated public static < K , V > ConcurrentMap < K , V > createCacheMap ( ) { Cache < K , V > cache = CacheBuilder . newBuilder ( ) . maximumSize ( 10000 ) . build ( ) ; return cache . asMap ( ) ; }
@return

@deprecated use Google Guava's {@link CacheBuilder},
{@link #createCache(int, long)} or something similar if
needed.