code: public static <K, V> Cache<K, V> createCache(int maximumSize, long expiryDurationSeconds) {
          Cache<K, V> cache = CacheBuilder.newBuilder().maximumSize(maximumSize)
                  .expireAfterAccess(expiryDurationSeconds, TimeUnit.SECONDS).build();
          return cache;
      }
docs: Creates a typical Google Guava cache
  
  @param maximumSize
  @param expiryDurationSeconds
  @return