简易缓存,可以设置时间的缓存
private static Cache<String,String> tokenCache = CacheBuilder.newBuilder().expireAfterWrite(29, TimeUnit.DAYS).build();
private static ConcurrentMap<String, String> tokens = tokenCache.asMap();
需要jar:guava-16.0.jar