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

monad.face.model.NodeInfoSupport.scala Maven / Gradle / Ivy

// Copyright 2015,2016 the original author or authors. All rights reserved.
// site: http://www.ganshane.com
package monad.face.model

import com.google.gson.JsonArray

/**
 * 节点信息返回的支持类
 * @author Jun Tsai
 */
trait NodeInfoSupport extends java.io.Serializable{
    /**
     * 设置总节点数目
     * @param count 总节点数目
     */
    def setNodeCount(count:Int)

    /**
     * 设置成功的节点数目
     * @param count 成功的节点数
     */
    def setNodeSuccess(count:Int)

    def setNodeSuccess(servers:JsonArray)

    /**
     * 设置发生错误的节点数目
     * @param count 发生错误的节点数目
     */
    def setNodeError(count:Int)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy