java.lang.Object
com.zeroc.IceGrid.NodeDescriptor
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an IceGrid node.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe description of this node.Load factor of the node.Property set descriptors.The server instances (template instances).Servers that are not template instances.The variables defined for the node. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aNodeDescriptor
.NodeDescriptor
(Map<String, String> variables, List<ServerInstanceDescriptor> serverInstances, List<ServerDescriptor> servers, String loadFactor, String description, Map<String, PropertySetDescriptor> propertySets) Constructs aNodeDescriptor
with values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static NodeDescriptor
ice_read
(InputStream istr) Unmarshals aNodeDescriptor
from an input stream.static Optional<NodeDescriptor>
ice_read
(InputStream istr, int tag) Unmarshals an optionalNodeDescriptor
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, NodeDescriptor v) Marshals an optionalNodeDescriptor
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<NodeDescriptor> v) Marshals an optionalNodeDescriptor
into an output stream.static void
ice_write
(OutputStream ostr, NodeDescriptor v) Marshals aNodeDescriptor
into an output stream.void
ice_writeMembers
(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
variables
The variables defined for the node. -
serverInstances
The server instances (template instances). -
servers
Servers that are not template instances. -
loadFactor
Load factor of the node. -
description
The description of this node. -
propertySets
Property set descriptors.
-
-
Constructor Details
-
NodeDescriptor
public NodeDescriptor()Constructs aNodeDescriptor
. -
NodeDescriptor
public NodeDescriptor(Map<String, String> variables, List<ServerInstanceDescriptor> serverInstances, List<ServerDescriptor> servers, String loadFactor, String description, Map<String, PropertySetDescriptor> propertySets) Constructs aNodeDescriptor
with values for all its fields.- Parameters:
variables
- The variables defined for the node.serverInstances
- The server instances (template instances).servers
- Servers that are not template instances.loadFactor
- Load factor of the node.description
- The description of this node.propertySets
- Property set descriptors.
-
-
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 aNodeDescriptor
into an output stream.- Parameters:
ostr
- the output streamv
- theNodeDescriptor
to marshal; can be null
-
ice_read
Unmarshals aNodeDescriptor
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
NodeDescriptor
-
ice_write
Marshals an optionalNodeDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalNodeDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalNodeDescriptor
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-