红联Linux门户
Linux帮助

Guava 17.0发布,来自Google的Java类库

发布时间:2014-07-14 21:40:32来源:红联作者:empast
Guava 17.0 发布了,改进内容包括:
1.解决若干bug(8 issues)

2.API接口的调整

common.base

Verify and VerifyException

Converter.from(Function, Function)

common.cache

CacheLoader.asyncReloading(CacheLoader, Executor)

common.io

ByteStreams.newDataInput(ByteArrayInputStream)

ByteStreams.newDataOutput(ByteArrayOutputStream)

Closeables.closeQuietly(InputStream)

Closeables.closeQuietly(Reader)

common.net

HostAndPort.fromHost(String)

common.util.concurrent

Futures.inCompletionOrder(Iterable>)

MoreExecutors.shutdownAndAwaitTermination(ExecutorService, long, TimeUnit)

Service (and subclasses) - deprecated methods removed.

3.优化布隆过滤器的性能(1119),注意如果你使用了BloomFilters,并且采用了序列化传递给另外的服务器和进程,那么你可能会遇到反序列化的问题。

来自:开源中国社区
文章评论

共有 0 条评论