The next level of the name after examples represents a related set of example classes. The examples are in the coherence::examples namespace. The following description refers to the script names without specifying any file extension.Īll example source organized under the (such as contacts and security) and pof directories. cmd file extension are Windows command scripts. Scripts with no file extension are bash scripts. Scripts for building and executing the examples. Table 6-10 Directory Structure for C++ Directory Name The security example uses configuration files from java/resource/security.Ĭoherence libraries used for compiling and running the example. If an example has configuration that is required instead of the common configuration, it will have its own directory. The common Coherence configuration files required by the examples. This directory will not exist until the build script is executed. The classes for objects stored in the cache are in the package. The following description refers to the script names without specifying the file extension.Īll example source. Scripts for building and executing the example. Table 6-8 Directory Structure for Java Directory Name See RedistributionInvocable.Ĭreates a superficial delay between the processing of events. The states are enable logging performed by the RedistributionInterceptor, disable logging, or terminate the JVM that the invocable (RedistributionInvocable) is executed on. See RedistributionInterceptor.ĭefines three actionable states that will be executed on various members of the cluster. Responds with runtime exceptions at either pre- or post-commit time, based on the type of key being inserted. Provides timings between pre- and post-commit events for different types of events. Illustrates various features within Live Events, such as providing mean elapsed times split by event type, the different semantics in throwing exceptions in pre-events compared to post-events, and logging of partition movement when enabled. Table 6-3 Coherence Live Events Examples Example Name ![]() The example uses the Grizzly HTTP server to receive client HTTP requests. The Coherence REST examples shows how to create a basic web-based application that uses the Coherence REST API. The persistence example demonstrate saving and recovering cache data from disk. The clusters are configured in a federation topology and cached data is actively synchronized between the two clusters. The federated caching example starts two clusters: ClusterA and ClusterB. These Asynchronous examples illustrate how to perform asynchronous data grid operations using the AsyncNamedCache API.
0 Comments
Leave a Reply. |