java.lang.Object
com.zeroc.IceGrid.NodeUpdateDescriptor
- All Implemented Interfaces:
Serializable
,Cloneable
Describes the updates to apply to a node in a deployed application.
- 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 aNodeUpdateDescriptor
with values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
int
hashCode()
static NodeUpdateDescriptor
ice_read
(InputStream istr) Unmarshals aNodeUpdateDescriptor
from an input stream.static Optional<NodeUpdateDescriptor>
ice_read
(InputStream istr, int tag) Unmarshals an optionalNodeUpdateDescriptor
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, NodeUpdateDescriptor v) Marshals an optionalNodeUpdateDescriptor
into an output stream.static void
ice_write
(OutputStream ostr, int tag, Optional<NodeUpdateDescriptor> v) Marshals an optionalNodeUpdateDescriptor
into an output stream.static void
ice_write
(OutputStream ostr, NodeUpdateDescriptor v) Marshals aNodeUpdateDescriptor
into an output stream.void
ice_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 aNodeUpdateDescriptor
with 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 aNodeUpdateDescriptor
into an output stream.- Parameters:
ostr
- the output streamv
- theNodeUpdateDescriptor
to marshal; can be null
-
ice_read
Unmarshals aNodeUpdateDescriptor
from an input stream.- Parameters:
istr
- the input stream- Returns:
- the unmarshaled
NodeUpdateDescriptor
-
ice_write
Marshals an optionalNodeUpdateDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_write
Marshals an optionalNodeUpdateDescriptor
into an output stream.- Parameters:
ostr
- the output streamtag
- the tagv
- the value to marshal
-
ice_read
Unmarshals an optionalNodeUpdateDescriptor
from an input stream.- Parameters:
istr
- the input streamtag
- the tag- Returns:
- the unmarshaled value
-