java.lang.Object
com.zeroc.IceGrid.NodeDescriptor
- All Implemented Interfaces:
Serializable,Cloneable
Describes an IceGrid node.
Remarks:
The Slice compiler generated this class from Slice struct ::IceGrid::NodeDescriptor.
- 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 aNodeDescriptorwith values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static NodeDescriptorice_read(InputStream istr) Unmarshals aNodeDescriptorfrom an input stream.static Optional<NodeDescriptor>ice_read(InputStream istr, int tag) Unmarshals an optionalNodeDescriptorfrom 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, NodeDescriptor v) Marshals an optionalNodeDescriptorinto an output stream.static voidice_write(OutputStream ostr, int tag, Optional<NodeDescriptor> v) Marshals an optionalNodeDescriptorinto an output stream.static voidice_write(OutputStream ostr, NodeDescriptor v) Marshals aNodeDescriptorinto an output stream.voidice_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 aNodeDescriptorwith 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 aNodeDescriptorinto an output stream.- Parameters:
ostr- the output streamv- theNodeDescriptorto marshal
-
ice_read
Unmarshals aNodeDescriptorfrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
NodeDescriptor
-
ice_write
Marshals an optionalNodeDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalNodeDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalNodeDescriptorfrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-