使用 REST API 来检索集群模式(见清单 10a)。
Use the REST API to retrieve the cluster pattern (Listing 10a).
您将把对象设计为一个单子实例 (singleton)(这个设计模式将把这个对象限制在一个单个实例中)并使用合适的检索和存储方法对高速缓存进行操作。
You will design the object as a singleton (this design pattern will limit this object to a single instance) and have the appropriate retrieve and store methods to manipulate the cache.
图7展示了检索到一组数据或者经后续查询进行了刷新之后,通常的使用模式和支持的操作。
Figure 7 illustrates the typical usage patterns and enabled actions after an initial set of data has been retrieved or a refresh made of a follow-up query.
应用推荐