Because a replicated entity can be stored in more than one slices, the policy interface is similar to Data Distribution policy, but differs in terms of the return type.
由于一个复制了的项可被存储在多个片内,此策略接口类似于数据分布策略,但在返回类型方面有所差异。
The loading of the distribution data and the creation of the distribution chart are similar to those of the sales data and chart, except that the plot type Pie is used, as shown in Listing 7.
分布数据的加载和分布图的创建类似于销售数据和销售图的创建,唯一不同的是使用了 Pie 类型的图,如清单 7 所示。
Persisting an instance whose type is replicated invokes a Replication Policy instead of a Data Distribution Policy.
持久化一个类型被复制过的实例会调用复制策略而非数据分布策略。
应用推荐