mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: optimize akka remote impl
This commit is contained in:
parent
f2b9ae222a
commit
432adeb00f
@ -32,7 +32,7 @@ public class AkkaCSInitializer implements CSInitializer {
|
||||
|
||||
@Override
|
||||
public String type() {
|
||||
return AkkaConstant.PROTOCOL;
|
||||
return tech.powerjob.common.enums.Protocol.AKKA.name();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -10,8 +10,6 @@ import tech.powerjob.remote.framework.base.ServerType;
|
||||
*/
|
||||
public class AkkaConstant {
|
||||
|
||||
public static final String PROTOCOL = "AKKA";
|
||||
|
||||
public static final String AKKA_CONFIG = "powerjob.akka.conf";
|
||||
|
||||
public static final String WORKER_ACTOR_SYSTEM_NAME = "oms";
|
||||
|
@ -11,6 +11,6 @@ import tech.powerjob.remote.framework.transporter.Protocol;
|
||||
public class AkkaProtocol implements Protocol {
|
||||
@Override
|
||||
public String name() {
|
||||
return AkkaConstant.PROTOCOL;
|
||||
return tech.powerjob.common.enums.Protocol.AKKA.name();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user