java.lang.Object
com.zeroc.IceGrid.NodeInfo
- All Implemented Interfaces:
Serializable,Cloneable
Information about an IceGrid node.
Remarks:
The Slice compiler generated this class from Slice struct ::IceGrid::NodeInfo.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe path to the node data directory.The network name of the host running this node.The machine hardware type.The name of the node.intThe number of processor threads on the node.The operating system name.The operation system release level.The operation system version. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static NodeInfoice_read(InputStream istr) Unmarshals aNodeInfofrom an input stream.ice_read(InputStream istr, int tag) Unmarshals an optionalNodeInfofrom an input stream.voidice_readMembers(InputStream istr) Unmarshals and sets this object's fields from an input stream.static voidice_write(OutputStream ostr, int tag, NodeInfo v) Marshals an optionalNodeInfointo an output stream.static voidice_write(OutputStream ostr, int tag, Optional<NodeInfo> v) Marshals an optionalNodeInfointo an output stream.static voidice_write(OutputStream ostr, NodeInfo v) Marshals aNodeInfointo an output stream.voidice_writeMembers(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
name
The name of the node. -
os
The operating system name. -
hostname
The network name of the host running this node. -
release
The operation system release level. -
version
The operation system version. -
machine
The machine hardware type. -
nProcessors
public int nProcessorsThe number of processor threads on the node. For example, nProcessors is 8 on a computer with a single quad-core processor and two threads per core. -
dataDir
The path to the node data directory.
-
-
Constructor Details
-
NodeInfo
public NodeInfo()Constructs aNodeInfo. -
NodeInfo
public NodeInfo(String name, String os, String hostname, String release, String version, String machine, int nProcessors, String dataDir) Constructs aNodeInfowith values for all its fields.- Parameters:
name- The name of the node.os- The operating system name.hostname- The network name of the host running this node.release- The operation system release level.version- The operation system version.machine- The machine hardware type.nProcessors- The number of processor threads on the node.dataDir- The path to the node data directory.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
clone
-
ice_writeMembers
Marshals this object's fields into an output stream.- Parameters:
ostr- the output stream
-
ice_readMembers
Unmarshals and sets this object's fields from an input stream.- Parameters:
istr- the input stream
-
ice_write
Marshals aNodeInfointo an output stream.- Parameters:
ostr- the output streamv- theNodeInfoto marshal
-
ice_read
Unmarshals aNodeInfofrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
NodeInfo
-
ice_write
Marshals an optionalNodeInfointo an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalNodeInfointo an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalNodeInfofrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-