public final class ReplicaSynchronizationType
extends java.lang.Object
implements java.io.Serializable
CmStorageDeviceConnection
or CmReplicaSynchronizationSiteSettings
.Modifier and Type | Field and Description |
---|---|
static ReplicaSynchronizationType |
ASYNCHRONOUS
A
CmContentReplicationQueueSweep
instance uploads the content to this replica. |
static int |
ASYNCHRONOUS_AS_INT
An
int value associated with the ASYNCHRONOUS instance of this class. |
static ReplicaSynchronizationType |
PRIMARY
A primary replica is a candidate for synchronous content upload, and will be populated during
upload if needed, depending on the number of required and desired replicas.
|
static int |
PRIMARY_AS_INT
An
int value associated with the PRIMARY instance of this class. |
static ReplicaSynchronizationType |
SECONDARY
A secondary replica is a candidate for synchronous content upload, and will be populated during
upload if needed, depending on the number of required and desired replicas.
|
static int |
SECONDARY_AS_INT
An
int value associated with the SECONDARY instance of this class. |
Modifier and Type | Method and Description |
---|---|
static ReplicaSynchronizationType |
getInstanceFromInt(int value)
Returns an instance of this class using its associated integer value.
|
int |
getValue()
Returns the internal integer value associated with a specific instance of this class.
|
java.lang.String |
toString()
Returns a
String representation of this enumeration instance. |
public static final int ASYNCHRONOUS_AS_INT
int
value associated with the ASYNCHRONOUS instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final ReplicaSynchronizationType ASYNCHRONOUS
CmContentReplicationQueueSweep
instance uploads the content to this replica.
A slow storage device should always be defined as asynchronous.
If this replica is in the same site as the Content Platform Engine instance,
then the instance must be directly connected to the replica.public static final int SECONDARY_AS_INT
int
value associated with the SECONDARY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final ReplicaSynchronizationType SECONDARY
public static final int PRIMARY_AS_INT
int
value associated with the PRIMARY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.public static final ReplicaSynchronizationType PRIMARY
public int getValue()
getInstanceFromInt(int)
public java.lang.String toString()
String
representation of this enumeration instance.toString
in class java.lang.Object
public static ReplicaSynchronizationType getInstanceFromInt(int value)
value
- The integer value. (See the *_AS_INT fields.)EngineRuntimeException
- If an enumeration instance with the given
ordinal value does not exist.getValue()
© Copyright IBM Corporation 2006, 2015. All rights reserved.