All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vip.saturn.job.console.domain.ServerBriefInfo Maven / Gradle / Ivy

/**
 * Copyright 1999-2015 dangdang.com.
 * 

* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *

*/ package com.vip.saturn.job.console.domain; import java.io.Serializable; /** * Executor brief info. */ public final class ServerBriefInfo implements Serializable { private static final long serialVersionUID = 1133149706443681483L; private final String executorName; private String serverIp; private Integer totalLoadLevel; private String sharding; private String lastBeginTime; private ServerStatus status; private String version; private boolean noTraffic; private boolean isContainer; private boolean isRestarting; private String groupName; public ServerBriefInfo(String executorName) { this.executorName = executorName; } public String getServerIp() { return this.serverIp; } public void setServerIp(String serverIp) { this.serverIp = serverIp; } public String getExecutorName() { return this.executorName; } public Integer getTotalLoadLevel() { return this.totalLoadLevel; } public void setTotalLoadLevel(Integer totalLoadLevel) { this.totalLoadLevel = totalLoadLevel; } public String getSharding() { return this.sharding; } public void setSharding(String sharding) { this.sharding = sharding; } public String getLastBeginTime() { return this.lastBeginTime; } public void setLastBeginTime(String lastBeginTime) { this.lastBeginTime = lastBeginTime; } public ServerStatus getStatus() { return this.status; } public void setStatus(ServerStatus status) { this.status = status; } public boolean isRestarting() { return isRestarting; } public void setRestarting(boolean restarting) { isRestarting = restarting; } public String getVersion() { return this.version; } public void setVersion(String version) { this.version = version; } public boolean isNoTraffic() { return noTraffic; } public void setNoTraffic(boolean noTraffic) { this.noTraffic = noTraffic; } public boolean isContainer() { return isContainer; } public void setContainer(boolean container) { isContainer = container; } public String getGroupName() { return groupName; } public void setGroupName(String groupName) { this.groupName = groupName; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy