没有任何数据可供显示
| 开源项目社区 | 当前位置 : |
|
| www.trustie.net/open_source_projects | 主页 > 开源项目社区 > Kryo |
|
Kryo
|
| 4 | 0 | 337 |
| 贡献者 | 讨论 | 代码提交 |
概述
Overview
Kryo is a fast and efficient object graph serialization framework for Java. The goals of the project are speed, efficiency, and an easy to use API. The project is useful any time objects need to be persisted, whether to a file, database, or over the network.
Kryo is competitive with other serialization projects. See BenchmarksAndComparisons for charts and more.
QuickstartJumping way ahead to show how the library is used:
{{{
Kryo kryo = new Kryo();
kryo.register(SomeClass.class);
// ...
SomeClass someObject = new SomeClass(...);
kryo.writeObject(buffer, someObject);
// ...
SomeClass someObject = kryo.readObject(buffer, SomeClass.class);
}}}
First the classes to serialize are registered, then objects can be written and read. No interfaces, mapping files, or othe
创建时间:2014-05-06 16:14
标签:
