Configuring an EPL Processor Cache Source

11-8 Oracle Complex Event Processing Developers Guide 12 Configuring Caching 12-1 12 Configuring Caching This section contains information on the following subjects: ■ Section 12.1, Overview of Oracle CEP Cache Configuration ■ Section 12.2, Configuring an Oracle CEP Local Caching System and Cache ■ Section 12.3, Configuring an Oracle Coherence Caching System and Cache ■ Section 12.4, Configuring a Third-Party Caching System and Cache ■ Section 12.5, Accessing a Cache From an Oracle CQL Statement ■ Section 12.6, Accessing a Cache From an EPL Statement ■ Section 12.7, Accessing a Cache From an Adapter ■ Section 12.8, Accessing a Cache From a Business POJO ■ Section 12.9, Accessing a Cache From an Oracle CQL User-Defined Function ■ Section 12.10, Accessing a Cache From an EPL User-Defined Function ■ Section 12.11, Accessing a Cache Using JMX

12.1 Overview of Oracle CEP Cache Configuration

A cache is a temporary storage area for events, created exclusively to improve the overall performance of your Oracle CEP application; it is not necessary for the application to function correctly. Oracle CEP applications can optionally publish or consume events to and from a cache to increase the availability of the events and increase the performance of their applications. A caching system refers to a configured instance of a caching implementation. A caching system defines a named set of configured caches as well as the configuration for remote communication if any of the caches are distributed across multiple machines. Oracle CEP supports the following caching systems: ■ Oracle CEP local cache: a local, in-memory single-JVM cache. ■ Oracle Coherence: a JCache-compliant in-memory distributed data grid solution for clustered applications and application servers. It coordinates updates to the data using cluster-wide concurrency control, replicates data modifications across the cluster using the highest performing clustered protocol available, and delivers notifications of data modifications to any servers that request them. You take advantage of Oracle Coherence features using the standard Java collections API to access and modify data, and use the standard JavaBean event model to receive data change notifications.