Go to main content
2/47
List of Examples
1-1 Methods in the InvocationService API
4-1 The Sample HelloWorld Standalone Application
4-2 The Sample Hello World JSP
9-1 Determining Services Running in the Cluster
9-2 A Sample MemberListener Implementation
9-3 Using Event Type Information in a MemberEvent Object
12-1 Sample One-to-One Cache Mapping
12-2 Sample Cache Name Pattern Mapping
12-3 Initialization Parameters in a Cache Mapping
12-4 Sample Distributed Cache Definition
12-5 Sample Replicated Cache Definition
12-6 Sample Optimistic Cache Definition
12-7 Sample Local Cache Definition
12-8 Sample Near Cache Definition
12-9 Using Cache Scheme References
12-10 Multiple Cache Schemes Using Scheme Inheritance
12-11 Setting Cache Properties
14-1 Specifying a Refresh-Ahead Factor
14-2 Example Cachestore Module
14-3 Implementation of the CacheStore Interface
14-4 Main.java - Interacting with a Controllable CacheStore
14-5 CacheStoreAware.java interface
17-1 Configuration for a Local, In-memory Cache
17-2 Configuration for a NIO In-memory Cache
17-3 Configuration for a Size Limited, In-memory, Local Cache
17-4 Configuration for an In-memory Cache with Expiring Entries
17-5 Configuration to Define a Cache on Disk
17-6 Configuration for a Size Limited Cache on Disk
17-7 Configuration for Persistent cache on disk
17-8 Configuration for Persistent cache on disk with Berkeley DB
17-9 Configuration for In-memory Cache with Disk Based Overflow
17-10 Configuration for the Cache of a Database
17-11 Configuration for a Replicated Cache
17-12 Configuration for a Replicated Cache with Overflow
17-13 Configuration for a Partitioned Cache
17-14 Configuration for a Partitioned Cache with Overflow
17-15 Configuration for a Partitioned Cache of a Database
17-16 Configuration for a Partitioned Cache with a Serializer
17-17 Partitioned Cache that References a Serializer
17-18 Defining a Default Serializer
17-19 Configuration for a Local Cache of a Partitioned Cache
19-1 Implementation of the PofSerializer Interface
20-1 Pre-Loading a Cache
20-2 Pre-Loading a Cache Using ConcurrentMap.putAll
20-3 Using a Filter to Query a Cache
20-4 Processing Query Results in Batches
20-5 A Sample Bulk Loading Program
20-6 Terminal Output from the Bulk Loading Program
20-7 Retrieving Storage-Enabled Members of the Cache
20-8 Routine to Get a List of Files Assigned to a Cache Member
20-9 Class to Load Each Member of the Cache
21-1 Excerpt from the MapListener API
21-2 Excerpt from the MapEvent API
21-3 Methods on the ObservableMap API
21-4 Sample MapListener Implementation
21-5 Holding a Reference to a Listener
21-6 Removing a Listener
21-7 Inner Class that Prints Only Cache Insert Events
21-8 Routing All Events to a Single Method for Handling
21-9 Triggering an Event when a Specific Integer Key is Inserted or Updated
21-10 Adding a Listener with Filter for Deleted Events
21-11 Inserting, Updating, and Removing a Value from the Cache
21-12 Sample Output
21-13 Listening for Events from a Cache
21-14 Listening for Events on an Object
21-15 Using MapEventFilter to Filter on Various Events
21-16 Determining Synthetic Events
21-17 An AbstractMultiplexingBackingMapListener Implementation
21-18 Distributed Scheme Specifying a Verbose Backing Map Listener
22-1 Querying the Cache with a Filter
22-2 Sample Code to Create an Index
22-3 Using a key set Query Format
22-4 Using a Limit Filter
22-5 Querying on Multi-Value Attributes
22-6 Chaining Invocation Methods
22-7 Sample Query Explain Plan Record
22-8 Sample Query Trace Record
22-9 A Query Record Example
23-1 A Query for a Continuous Query Cache
23-2 Getting Data for the Continuous Query Cache
23-3 Constructing the Continuous Query Cache
23-4 A Constructor that Allows the CacheValues Property
23-5 Setting the CacheValues Property
23-6 Adding a Listener to a Continuous Query Cache
23-7 Processing Continuous Query Cache Entries and Adding a Listener
23-8 Adding a Listener Before Processing Continuous Query Cache Entries
23-9 Providing a Listener When Constructing the Continuous Query Cache
23-10 Making the Continuous Query Cache Read-Only
24-1 Querying Across a Data Grid
24-2 Methods in the EntryProcessor Interface
24-3 InvocableMap.Entry API
24-4 Aggregation in the InvocableMap API
24-5 EntryAggregator API
24-6 ParallelAwareAggregator API for running Aggregation in Parallel
24-7 Simple Agent to Request Garbage Collection
24-8 Agent to Support a Grid-Wide Request and Response Model
24-9 Printing the Results from a Grid-Wide Request or Response
24-10 Stateful Agent Operations
24-11 Using a Work Manager
25-1 Example MapTriggerListener Configuration
25-2 A MapTriggerListener Registering a MapTrigger with a Named Cache
25-3 A MapTrigger Class
25-4 Calling a MapTrigger and Passing it to a Named Cache
26-1 A Command-Line Query Exercise
27-1 Applying Locking Operations on a Cache
27-2 Concurrency Control without Using EntryProcessors
27-3 Concurrency Control Using EntryProcessors
27-4 Example Transactional Cache Definition
27-5 Performing an Auto-Commit Transaction
27-6 Performing a Non Auto-Commit Transaction
27-7 Transaction Across Multiple Caches
27-8 Entry Processor for Extend Client Transaction
27-9 Performing a Transaction When Using CMT
27-10 Performing a User-Controlled Transaction
27-11 Using the CacheAdapter Class When Using coherence-transaction.rar
27-12 Using the CacheAdapter Class When Using coherence-tx.rar
28-1 Creating a Key Association
28-2 A Custom KeyAssociator
28-3 Configuring a Key Associator
28-4 Using Affinity for a More Efficient Query
29-1 Sample Task Time and Task Hung Configuration
29-2 Sample Client Request Timeout Configuration
29-3 Exception Thrown by a TaskTimeout
31-1 Implementing a Custom Eviction Policy
31-2 Custom Eviction Policy in a coherence-cache-config.xml File
A-1 Configuration for Two Well-Known-Addresses
E-1 Writing a 32-bit Integer Value to an Octet Stream
E-2 Reading a 32-bit Integer Value from an Octet Stream
E-3 Writing a Character Value to an Octet Stream
E-4 Reading a Character Value from an Octet Stream
Scripting on this page enhances content navigation, but does not change the content in any way.