Package com.orchestranetworks.d3
Class DeliveryMode
java.lang.Object
com.orchestranetworks.d3.DeliveryMode
Defines the D3 delivery modes. For more information about delivery modes, see:
- Since:
- 5.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DeliveryModeClustered delivery mode.static final DeliveryModeFederated delivery mode. -
Method Summary
Modifier and TypeMethodDescriptionabstract StringReturns the label depending on the specified locale.abstract booleanReturnstrueif in clustered delivery mode, otherwise returnsfalse.abstract booleanReturnstrueif in federated delivery mode, otherwise returnsfalse.
-
Field Details
-
CLUSTER_MODE
Clustered delivery mode. This mode is adapted to integration into an application server cluster.Clusters have a strong requirement for transactional integrity. Since a client application can successively access several nodes during the same transaction, the nodes must deliver the same transactional state.
-
FEDERATION_MODE
Federated delivery mode. This mode is adapted to a geographically distributed and/or heterogeneous architecture.In a federation, the transactional requirements can be relaxed. Updates of replica nodes are performed asynchronously and using replays.
-
-
Method Details
-
getLabel
Returns the label depending on the specified locale. -
isCluster
public abstract boolean isCluster()Returnstrueif in clustered delivery mode, otherwise returnsfalse. -
isFederation
public abstract boolean isFederation()Returnstrueif in federated delivery mode, otherwise returnsfalse.
-