Learn how to interact with Coherence caches, serialize data using POF, query cache data, process and aggregate cache data, handle events, and perform transactions.
Part IV contains the following chapters:
Introduction to Coherence Programming
Read through a list of essential Coherence Java APIs and learn about Coherence support for generics, lambdas, streams, and default methods.
Using Portable Object Format
You can use Portable Object Format (POF) to serialize Java objects for use in Coherence.
Querying Data In a Cache
You can perform queries and use indexes to retrieve data in a cache that matches certain criteria.
Using Continuous Query Caching
You can use continuous query caching to ensure that a query always retrieves the latest results from a cache in real-time.
Processing Data In a Cache
You can use entry processors and aggregators to perform data grid processing across a cluster.
Using Map Events
You can use map event listeners to receive cache events and events from any class in Coherence that implements the ObservableMap interface.
Performing Transactions
Coherence provides several transaction and data concurrency features that can be used as required.
Working with Partitions
You can use data affinity with Coherence and also change the default partition setup.
Managing Thread Execution
You can control the execution behavior of Coherence service threads using task timeouts and the PriorityTask API for custom execution processing.
Constraints on Re-entrant Calls
There are constraints on service re-entrant calls and guidelines for making calls between service threads.