![]() ![]() 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-11 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-9 Directory Structure for Java Directory Name See RedistributionInvocable.Ĭreates a superficial delay between the processing Terminate the JVM that the invocable (RedistributionInvocable) Performed by the RedistributionInterceptor, disable logging, or See RedistributionInterceptor.ĭefines three actionable states that will be executed Post-commit time, based on the type of key being inserted. Responds with runtime exceptions at either pre- or Provides timings between pre- and post-commit eventsįor different types of events. Such as providing mean elapsed times split by event type, theĭifferent semantics in throwing exceptions in pre-eventsĬompared to post-events, and logging of partition movement when Illustrates various features within Live Events, The examples are available only for the Java platform. The Coherence topics examples show publish/subscribe messaging and queue message processing using subscriber groups. ![]() 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. Coherence Asynchronous Features Example.The examples demonstrate using Streams, Lambda, and default methods that were introduced in the Map interface. The Coherence Java 8 Features examples illustrate how to use Coherence with features that are available in Java 8. The Coherence Live Events examples illustrate the various event types and how they can be consumed, including EntryEvents, EntryProcessorEvents and TransferEvents. The Coherence security examples are a collection of examples that show how to use the security features of Coherence in order to provide access control. The Coherence Basic Features Examples are a collection of examples that demonstrate basic functionality using a simplified contact information tracker application: Scripts are provided for the Java, C++, and. The Coherence examples are run using the scripts in the examples directory. The Coherence examples’ source files must be built using the scripts in the examples directory. The Coherence examples are included in the coherence_ version. Each feature set contains multiple examples that demonstrate key functionality. The Coherence examples are grouped into feature sets. ![]()
0 Comments
Leave a Reply. |