Redis Session测试通过;因为Kryo必须有一个无参数的构造方法,为减少错误几率,所以将Kryo替换为FTS工具,两者性能可忽略。

This commit is contained in:
thinkgem
2018-01-20 00:13:07 +08:00
parent 8901309e8f
commit 69a8aef269
11 changed files with 188 additions and 118 deletions

View File

@@ -49,17 +49,21 @@
</dependency>
<!-- Java serialization -->
<!-- <dependency> -->
<!-- <groupId>com.esotericsoftware</groupId> -->
<!-- <artifactId>kryo</artifactId> -->
<!-- <version>${esotericsoftware-kryo.version}</version> -->
<!-- </dependency> -->
<dependency>
<groupId>com.esotericsoftware</groupId>
<artifactId>kryo</artifactId>
<version>${esotericsoftware.kryo.version}</version>
<groupId>de.ruedigermoeller</groupId>
<artifactId>fst</artifactId>
<version>${ruedigermoeller-fst.version}</version>
</dependency>
<!-- Org json -->
<!-- Json in java -->
<dependency>
<groupId>org.codeartisans</groupId>
<artifactId>org.json</artifactId>
<version>${codeartisans.json.version}</version>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
</dependency>
<!-- Jackson json -->