java.lang.Object
com.zeroc.IceGrid.NodeUpdateDescriptor
- All Implemented Interfaces:
Serializable,Cloneable
Describes the updates to apply to a node in a deployed application.
Remarks:
The Slice compiler generated this class from Slice struct ::IceGrid::NodeUpdateDescriptor.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe updated description (or null if the description wasn't updated.)The updated load factor of the node (or null if the load factor was not updated).The name of the node to update.The property sets to update.String[]The property sets to remove.String[]The IDs of the servers to remove.String[]The variables to remove.The server instances to update.The servers which are not template instances to update.The variables to update. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aNodeUpdateDescriptor.NodeUpdateDescriptor(String name, BoxedString description, Map<String, String> variables, String[] removeVariables, Map<String, PropertySetDescriptor> propertySets, String[] removePropertySets, List<ServerInstanceDescriptor> serverInstances, List<ServerDescriptor> servers, String[] removeServers, BoxedString loadFactor) Constructs aNodeUpdateDescriptorwith values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static NodeUpdateDescriptorice_read(InputStream istr) Unmarshals aNodeUpdateDescriptorfrom an input stream.static Optional<NodeUpdateDescriptor>ice_read(InputStream istr, int tag) Unmarshals an optionalNodeUpdateDescriptorfrom 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, NodeUpdateDescriptor v) Marshals an optionalNodeUpdateDescriptorinto an output stream.static voidice_write(OutputStream ostr, int tag, Optional<NodeUpdateDescriptor> v) Marshals an optionalNodeUpdateDescriptorinto an output stream.static voidice_write(OutputStream ostr, NodeUpdateDescriptor v) Marshals aNodeUpdateDescriptorinto an output stream.voidice_writeMembers(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
name
The name of the node to update. -
description
The updated description (or null if the description wasn't updated.) -
variables
The variables to update. -
removeVariables
The variables to remove. -
propertySets
The property sets to update. -
removePropertySets
The property sets to remove. -
serverInstances
The server instances to update. -
servers
The servers which are not template instances to update. -
removeServers
The IDs of the servers to remove. -
loadFactor
The updated load factor of the node (or null if the load factor was not updated).
-
-
Constructor Details
-
NodeUpdateDescriptor
public NodeUpdateDescriptor()Constructs aNodeUpdateDescriptor. -
NodeUpdateDescriptor
public NodeUpdateDescriptor(String name, BoxedString description, Map<String, String> variables, String[] removeVariables, Map<String, PropertySetDescriptor> propertySets, String[] removePropertySets, List<ServerInstanceDescriptor> serverInstances, List<ServerDescriptor> servers, String[] removeServers, BoxedString loadFactor) Constructs aNodeUpdateDescriptorwith values for all its fields.- Parameters:
name- The name of the node to update.description- The updated description (or null if the description wasn't updated.)variables- The variables to update.removeVariables- The variables to remove.propertySets- The property sets to update.removePropertySets- The property sets to remove.serverInstances- The server instances to update.servers- The servers which are not template instances to update.removeServers- The IDs of the servers to remove.loadFactor- The updated load factor of the node (or null if the load factor was not updated).
-
-
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 aNodeUpdateDescriptorinto an output stream.- Parameters:
ostr- the output streamv- theNodeUpdateDescriptorto marshal
-
ice_read
Unmarshals aNodeUpdateDescriptorfrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
NodeUpdateDescriptor
-
ice_write
Marshals an optionalNodeUpdateDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalNodeUpdateDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalNodeUpdateDescriptorfrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-