Introduction to Coherence Programming
This chapter provides an introduction to the Coherence Java API that is used for performing cache and data grid operations.
Performing Basic Cache Operations
This chapter provides instructions for using the Coherence caching APIs to perform basic cache operations.
Using Portable Object Format
This chapter provides instructions for using the Portable Object Format (POF) to serialize objects in Coherence. The instructions are specific to using POF for Java clients.
Querying Data In a Cache
This chapter provides instructions for performing queries and using indexes to retrieve data in a cache that matches a certain criteria. Queries and indexes can be simple, employing filters packaged with Coherence, or they can be run against multi-value attributes such as collections and arrays.
Using Continuous Query Caching
This chapter provides instructions for using continuous query caching to ensure that a query always retrieves the latest results from a cache in real-time.
Processing Data In a Cache
This chapter provides instructions for using entry processors and aggregators to perform data grid processing across a cluster. These data grid features perform in a similar manner to other map-reduce patterns and allow the processing of large amounts of data at very low latencies.
Using Map Events
This chapter provides instructions for using map event listeners to receive cache events and events from any class in Coherence that implements the ObservableMap interface.
Controlling Map Operations with Triggers
This chapter provides instructions for using map triggers to validate, reject, or modify map operations before a change is committed to a map entry.
Using Live Events
This chapter describes live events and provides instructions for being notified of events using event interceptors. Applications use live events to react to cluster operations with application logic.
Using Coherence Query Language
This chapter describes how to use Coherence Query Language (CohQL) to interact with Coherence caches. CohQL is a light-weight syntax (in the tradition of SQL) that is used to perform cache operations on a Coherence cluster. The language can be used either programmatically or from a command-line tool.
Performing Transactions
This chapter provides instructions for using Coherence's transaction and data concurrency features. Users should be familiar with transaction principles before reading this chapter. In addition, the Coherence Resource Adapter requires knowledge of J2EE Connector Architecture (J2CA), Java Transaction API (JTA) and Java EE deployment.
Working with Partitions
This chapter provides instructions for using data affinity and includes instructions for changing the default partition setup. The instructions are specific to distributed caches.
Managing Thread Execution
This chapter provides instructions for controlling the execution behavior of Coherence service threads using task timeouts and the PriorityTask API for custom execution processing.
Constraints on Re-entrant Calls
This chapter describes the constraints on service re-entrant calls and provides general guidelines for making calls between service threads.