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