![JAR search and dependency download from the Maven repository](/logo.png)
com.gitee.yanfanvip.model.FrameEnum Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rocksdb Show documentation
Show all versions of rocksdb Show documentation
RocksDB Cluster and Replication cluster
The newest version!
package com.gitee.yanfanvip.model;
public enum FrameEnum {
PING(0),
PUT(1),
PUTALL(2),
REMOVE(3),
CLEAR(4),
PULL_MESSAGE_COMPLETE(5),//拉取失败消息完成
SYNC_START(11),
SYNC_COMPLETE(12);
private final int type;
private FrameEnum(int type) {
this.type = type;
}
public int getType() {
return type;
}
public static FrameEnum get(int type) {
for (FrameEnum e : FrameEnum.values()) {
if(e.type == type){
return e;
}
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy