2/15
List of Examples
1-1 cache-server.cmd File with an Edited COHERENCE_HOME
1-2 Output from Starting a Coherence Cache Server
1-3 coherence.cmd File with an Edited COHERENCE_HOME
1-4 Output from Starting the Coherence Cache Client
1-5 Output from Starting a Coherence Cache
1-6 Exercising Coherence Commands
1-7 Multicast-Listener Fragment of tangosol-coherence.xml File
2-1 Creating a NamedCache; Inserting and Verifying Values
2-2 Getting a Value from the Cache
2-3 Sample Coherence-Based Java Application
3-1 Comparing an Object from the Cache with the Original
3-2 New <user-type> Element in POF Configuration File
3-3 Serializer Section in the Cache Configuration File
3-4 <init-param> Section in the Cache Configuration File
3-5 Sample pof-cache-config.cmd File
3-6 Starting the POF Cache Server
3-7 Attributes for a Sample Serializable Class
3-8 Sample Domain Object for the Coherence Cache
3-9 Sample Console Application
3-10 Sample PortableObject Implementation
3-11 Output from Starting the Server with a POF Configuration
4-1 Sample Code to Open and Close a Text File
4-2 Sample Code to Split a String
4-3 Sample Code to Parse a Date
4-4 Sample Cache Loading Program
4-5 Sample Stopwatch Program
4-6 Sample PopulatePeople Class
4-7 Sample QueryExample Class
4-8 Methods to Aggregate Over Keys or by Specifying Filters
4-9 Sample Data Aggregation Class
5-1 Listener Methods on a NamedCache
5-2 Code Pattern for Registering an Event
5-3 Sample Listener Class
5-4 Sample Program to Put a New Object in the Cache
5-5 Sample Code that Listens for an Update to an Object
5-6 Sample Chat Program
5-7 Sample Chat Client Program
5-8 Inner Class to Implement a Key Association for Data Affinity
5-9 Sample Code to Create and Use an Inner Class within Coherence
5-10 Implementation of the Person Object with a Key Inner Class
5-11 Sample Code to Create an Object and Put and Get it From the Cache
5-12 Code to Add Entries to KeyTester2
5-13 Sample Code for an Alternate KeyTester Class
6-1 Sample Employee Class
6-2 Sample Raise Salary Class
6-3 Sample Program to Test RaiseSalary Class
6-4 Sample Program to Show Where Data is Held
6-5 Sample Program to Trace Member Location of Employees
6-6 Output of WhereAreMyEmployees Class with One Cache Server Console
6-7 Response on Cache Server Console 1
6-8 Response on Cache Server Console 2
7-1 persistance.xml File Contents
7-2 Cache Configuration for JPA
7-3 Modified jpa-cache-server.cmd File
7-4 Sample Employee Class File
8-1 Cache Configuration File
8-2 Implementation of a Coherence Cache
8-3 SQL Script for Creating a Database Table
8-4 Database CacheStore Implementation
8-5 Database Cache Configuration File
8-6 Implementation for the Database Cache Class File