java.lang.Object
com.zeroc.IceGrid.NodeDynamicInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Dynamic information about the state of a node.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe dynamic information of the adapters deployed on this node.Some static information about the node.The dynamic information of the servers deployed on this node. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aNodeDynamicInfo
.NodeDynamicInfo
(NodeInfo info, List<ServerDynamicInfo> servers, List<AdapterDynamicInfo> adapters) Constructs aNodeDynamicInfo
with values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static NodeDynamicInfo
ice_read
(InputStream istr) Unmarshals aNodeDynamicInfo
from an input stream.static Optional<NodeDynamicInfo>
ice_read
(InputStream istr, int tag) Unmarshals an optionalNodeDynamicInfo
from an input stream.void
ice_readMembers
(InputStream istr) Unmarshals and sets this object's fields from an input stream.static void
ice_write
(OutputStream ostr, int tag, NodeDynamicInfo v) Marshals an optionalNodeDynamicInfo
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<NodeDynamicInfo> v) Marshals an optionalNodeDynamicInfo
into an output stream.static void
ice_write
(OutputStream ostr, NodeDynamicInfo v) Marshals aNodeDynamicInfo
into an output stream.void
ice_writeMembers
(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
info
Some static information about the node. -
servers
The dynamic information of the servers deployed on this node. -
adapters
The dynamic information of the adapters deployed on this node.
-
-
Constructor Details
-
NodeDynamicInfo
public NodeDynamicInfo()Constructs aNodeDynamicInfo
. -
NodeDynamicInfo
public NodeDynamicInfo(NodeInfo info, List<ServerDynamicInfo> servers, List<AdapterDynamicInfo> adapters) Constructs aNodeDynamicInfo
with values for all its fields.- Parameters:
info
- Some static information about the node.servers
- The dynamic information of the servers deployed on this node.adapters
- The dynamic information of the adapters deployed on this node.
-
-
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 aNodeDynamicInfo
into an output stream.- Parameters:
ostr
- the output streamv
- theNodeDynamicInfo
to marshal; can be null
-
ice_read
Unmarshals aNodeDynamicInfo
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
NodeDynamicInfo
-
ice_write
Marshals an optionalNodeDynamicInfo
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalNodeDynamicInfo
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalNodeDynamicInfo
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-