java.lang.Object
com.zeroc.IceGrid.ReplicaGroupDescriptor
- All Implemented Interfaces:
Serializable,Cloneable
Describes a replica group.
Remarks:
The Slice compiler generated this class from Slice struct ::IceGrid::ReplicaGroupDescriptor.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe description of this replica group.The filter to use for this replica group.The replica group ID.The load balancing policy.The descriptors for the well-known objects.Default options for proxies created for the replica group. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aReplicaGroupDescriptor.ReplicaGroupDescriptor(String id, LoadBalancingPolicy loadBalancing, String proxyOptions, List<ObjectDescriptor> objects, String description, String filter) Constructs aReplicaGroupDescriptorwith values for all its fields. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleaninthashCode()static ReplicaGroupDescriptorice_read(InputStream istr) Unmarshals aReplicaGroupDescriptorfrom an input stream.static Optional<ReplicaGroupDescriptor>ice_read(InputStream istr, int tag) Unmarshals an optionalReplicaGroupDescriptorfrom 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, ReplicaGroupDescriptor v) Marshals an optionalReplicaGroupDescriptorinto an output stream.static voidice_write(OutputStream ostr, int tag, Optional<ReplicaGroupDescriptor> v) Marshals an optionalReplicaGroupDescriptorinto an output stream.static voidice_write(OutputStream ostr, ReplicaGroupDescriptor v) Marshals aReplicaGroupDescriptorinto an output stream.voidice_writeMembers(OutputStream ostr) Marshals this object's fields into an output stream.
-
Field Details
-
id
The replica group ID. -
loadBalancing
The load balancing policy. -
proxyOptions
Default options for proxies created for the replica group. -
objects
The descriptors for the well-known objects. -
description
The description of this replica group. -
filter
The filter to use for this replica group.
-
-
Constructor Details
-
ReplicaGroupDescriptor
public ReplicaGroupDescriptor()Constructs aReplicaGroupDescriptor. -
ReplicaGroupDescriptor
public ReplicaGroupDescriptor(String id, LoadBalancingPolicy loadBalancing, String proxyOptions, List<ObjectDescriptor> objects, String description, String filter) Constructs aReplicaGroupDescriptorwith values for all its fields.- Parameters:
id- The replica group ID.loadBalancing- The load balancing policy.proxyOptions- Default options for proxies created for the replica group.objects- The descriptors for the well-known objects.description- The description of this replica group.filter- The filter to use for this replica group.
-
-
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 aReplicaGroupDescriptorinto an output stream.- Parameters:
ostr- the output streamv- theReplicaGroupDescriptorto marshal
-
ice_read
Unmarshals aReplicaGroupDescriptorfrom an input stream.- Parameters:
istr- the input stream- Returns:
- the unmarshaled
ReplicaGroupDescriptor
-
ice_write
Marshals an optionalReplicaGroupDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_write
Marshals an optionalReplicaGroupDescriptorinto an output stream.- Parameters:
ostr- the output streamtag- the tagv- the value to marshal
-
ice_read
Unmarshals an optionalReplicaGroupDescriptorfrom an input stream.- Parameters:
istr- the input streamtag- the tag- Returns:
- the unmarshaled value
-