Package com.orchestranetworks.d3
Class DeliveryMode
- java.lang.Object
-
- com.orchestranetworks.d3.DeliveryMode
-
public abstract class DeliveryMode extends Object
Defines the D3 delivery modes. For more information about delivery modes, see:- Since:
- 5.4.0
-
-
Field Summary
Fields Modifier and Type Field Description static DeliveryModeCLUSTER_MODEClustered delivery mode.static DeliveryModeFEDERATION_MODEFederated delivery mode.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract StringgetLabel(Locale aLocale)Returns the label depending on the specified locale.abstract booleanisCluster()Returnstrueif in clustered delivery mode, otherwise returnsfalse.abstract booleanisFederation()Returnstrueif in federated delivery mode, otherwise returnsfalse.
-
-
-
Field Detail
-
CLUSTER_MODE
public static final DeliveryMode 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
public static final DeliveryMode 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 Detail
-
getLabel
public abstract String getLabel(Locale aLocale)
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.
-
-