jp.co.scs.mbench
クラス MultiNodeInfo

java.lang.Object
  上位を拡張 jp.co.scs.mbench.MultiNodeInfo

public class MultiNodeInfo
extends java.lang.Object

Multiple node information

作成者:
Tetsuro Ikeda

フィールドの概要
static java.lang.String defaultLocalHost
          name of local host
static int defaultPort
          number of local port
static java.lang.String NODE_PRIMARY
          statement of primary node on multiple nodes
static java.lang.String NODE_SECONDARY
          statement of secondary node on multiple nodes
static java.lang.String NODE_SINGLE
          statement of single node
 
コンストラクタの概要
MultiNodeInfo()
           
 
メソッドの概要
 java.lang.String getLocalHost()
          Gets the name of local host.
 int getLocalPort()
          Gets the number of local port.
 java.lang.String getName()
          Gets the name of multipule nodes.
 java.lang.String getNodeType()
          Sets the type of node.
 java.lang.String[] getSecondaryHost()
          Gets the names of secondary node's host.
 int[] getSecondaryPort()
          Gets the numbers of secondary node's port.
 void setLocalHost(java.lang.String localHost)
          Sets the name of local host.
 void setLocalPort(int localPort)
          Sets the number of local port.
 void setName(java.lang.String name)
          Sets the name of multipule nodes.
 void setNodeType(java.lang.String nodeType)
          Gets the type of node.
 void setSecondaryHost(java.lang.String[] secondaryHost)
          Sets the names of secondary node's host.
 void setSecondaryPort(int[] secondaryPort)
          Sets the numbers of secondary node's port.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

defaultLocalHost

public static final java.lang.String defaultLocalHost
name of local host

関連項目:
定数フィールド値

defaultPort

public static final int defaultPort
number of local port

関連項目:
定数フィールド値

NODE_SINGLE

public static final java.lang.String NODE_SINGLE
statement of single node

関連項目:
定数フィールド値

NODE_PRIMARY

public static final java.lang.String NODE_PRIMARY
statement of primary node on multiple nodes

関連項目:
定数フィールド値

NODE_SECONDARY

public static final java.lang.String NODE_SECONDARY
statement of secondary node on multiple nodes

関連項目:
定数フィールド値
コンストラクタの詳細

MultiNodeInfo

public MultiNodeInfo()
メソッドの詳細

getLocalHost

public java.lang.String getLocalHost()
Gets the name of local host. Default is "localhost".

戻り値:
name of local host

setLocalHost

public void setLocalHost(java.lang.String localHost)
Sets the name of local host.

パラメータ:
localHost - name of local host

getLocalPort

public int getLocalPort()
Gets the number of local port. Default is "2826".

戻り値:
number of local port

setLocalPort

public void setLocalPort(int localPort)
Sets the number of local port.

パラメータ:
localPort - number of local port

getName

public java.lang.String getName()
Gets the name of multipule nodes.

戻り値:
name of multipule nodes

setName

public void setName(java.lang.String name)
Sets the name of multipule nodes.

パラメータ:
name - name of multipule nodes

getNodeType

public java.lang.String getNodeType()
Sets the type of node.

戻り値:
Type of nodes

setNodeType

public void setNodeType(java.lang.String nodeType)
Gets the type of node.

パラメータ:
nodeType - Type of node

getSecondaryHost

public java.lang.String[] getSecondaryHost()
Gets the names of secondary node's host. Used if the node type is primary. Since two or more secondary nodes may exist, they are using arrangement.

戻り値:
names of secondary node's host

setSecondaryHost

public void setSecondaryHost(java.lang.String[] secondaryHost)
Sets the names of secondary node's host. Used if the node type is primary. Since two or more secondary nodes may exist, they are using arrangement.

パラメータ:
secondaryHost - names of secondary node's host

getSecondaryPort

public int[] getSecondaryPort()
Gets the numbers of secondary node's port. Used if the node type is primary. Since two or more secondary nodes may exist, they are using arrangement.

戻り値:
Numbers of secondary node's port

setSecondaryPort

public void setSecondaryPort(int[] secondaryPort)
Sets the numbers of secondary node's port. Used if the node type is primary. Since two or more secondary nodes may exist, they are using arrangement.

パラメータ:
secondaryPort - Numbers of secondary node's port