mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: upgrade serialier to kryo5
This commit is contained in:
parent
e767ad1043
commit
ddabdf2187
@ -75,8 +75,8 @@
|
|||||||
|
|
||||||
<!-- kryo 超超超高性能序列化框架 -->
|
<!-- kryo 超超超高性能序列化框架 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.esotericsoftware</groupId>
|
<groupId>com.esotericsoftware.kryo</groupId>
|
||||||
<artifactId>kryo</artifactId>
|
<artifactId>kryo5</artifactId>
|
||||||
<version>${kryo.version}</version>
|
<version>${kryo.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
@ -91,8 +91,6 @@
|
|||||||
<version>${jackson.version}</version>
|
<version>${jackson.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Junit tests -->
|
<!-- Junit tests -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.junit.jupiter</groupId>
|
<groupId>org.junit.jupiter</groupId>
|
||||||
|
@ -4,6 +4,7 @@ import akka.serialization.JSerializer;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Using custom serializers for akka-remote
|
* Using custom serializers for akka-remote
|
||||||
|
* https://doc.akka.io/docs/akka/current/serialization.html
|
||||||
*
|
*
|
||||||
* @author tjq
|
* @author tjq
|
||||||
* @since 2021/3/21
|
* @since 2021/3/21
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package tech.powerjob.common.serialize;
|
package tech.powerjob.common.serialize;
|
||||||
|
|
||||||
|
|
||||||
import com.esotericsoftware.kryo.Kryo;
|
import com.esotericsoftware.kryo.kryo5.Kryo;
|
||||||
import com.esotericsoftware.kryo.io.Input;
|
import com.esotericsoftware.kryo.kryo5.io.Input;
|
||||||
import com.esotericsoftware.kryo.io.Output;
|
import com.esotericsoftware.kryo.kryo5.io.Output;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 序列化器
|
* 序列化器
|
||||||
|
Loading…
x
Reference in New Issue
Block a user