-
Book Overview & Buying
-
Table Of Contents
Oracle Coherence 3.5
By :
It should be fairly obvious by now that you could use Coherence cache events to implement a local, in-process view of the partitioned cache (or a subset of it) that is automatically kept up to date as the data in the cluster changes.
The good news is that such a thing already exists and is available for you to use, in the form of a ContinuousQueryCache, often referred to as CQC in Coherence circles.
The CQC is an extremely powerful feature that is frequently used to bring a subset of the data to users' desktops and update them in real time, which can be very useful in trading or logistics applications, for example.
Unlike other cache types, which are typically defined in the cache configuration file, the CQC can only be created programmatically, because you need to specify the filter to use to create the live view of the data. For example, if we wanted to create a view of all open trade orders assigned to a particular trader, we would create the CQC instance like this...
Change the font size
Change margin width
Change background colour