Go to main content
2/43
List of Examples
3-1 Extend Proxy Service Configuration
3-2 Remote Cache Definition
3-3 Remote Invocation Scheme Definition
4-1 Sample Coherence*Extend Application
5-1 Disabling Storage
5-2 Casting an ArrayList Object
5-3 Configuring a POFSerializer for a Distributed Cache
7-1 Sample Run of the build.cmd File
7-2 Cache Configuration for Two Clustered Services
7-3 A Caching Scheme that Connects to a Remote Coherence Cluster
7-4 Local Cache Configuration
7-5 Near Cache Configuration
7-6 Setting the Configuration File Location
7-7 Creating a Coherence Cache Factory
7-8 Configuring a CacheFactory and a Local Member
7-9 Setting the Cache Configuration File Location for the Server/Cluster
7-10 Sample Operational Configuration
7-11 Operational Configuration File that Includes a Logger
7-12 Sample Command to Start the DefaultCacheServer
8-1 Using the EqualsFilter Method
8-2 Using the GreaterEqualsFilter Method
8-3 Using the LikeFilter Method
8-4 Using the AndFilter Method
8-5 Using the OrFilter Method
9-1 Examples of Constructing String Objects
9-2 Constructing String Objects with the "<<" Operator
9-3 Autoboxing Examples
9-4 Type Safe Casting Examples
9-5 Down Casting Examples
9-6 Object Type Checking with the instanceof<H> Function
9-7 Indexing an Array
9-8 Storing Managed Object Instances
9-9 A Try/Catch Block with Managed Exceptions
9-10 An Interface Defined by interface_spec
9-11 A Derived Interface Defined by interface_spec
9-12 An Implementation Defined by cloneable_spec
9-13 Defining a Class Without the use of specs
9-14 Using specs to Define a Class
9-15 Creating a Runnable Instance and Spawning a Thread
9-16 A Sample COH_SYNCHRONIZED Macro Code Block
9-17 Thread-safe Handle
9-18 Thread-safe Handle as a Non-Managed Class
9-19 Sample Thread Dump
9-20 Data Returned by a Heap Analyzer
9-21 Results from a Memory Corruption Run
10-1 A Non-Managed Class
10-2 Managed Class using Serialization
10-3 Instances of a Class Wrapped with Managed<T>
10-4 A Managed Class that Implements PortableObject
10-5 A Managed Class without Managed<T>
10-6 A non-PortableObject Version of a Managed Class
10-7 An External Class Responsible for Serialization
11-1 Using Filters for Querying
11-2 Placing a Listener into a Continuous Query Cache
11-3 Creating a Continuous Query Cache with a Filter and a Listener
11-4 Processing the Data, then Adding the Listener
11-5 Adding the Listener, then Processing the Data
12-1 Querying Cache Content
12-2 Using the LimitFilter Method
12-3 Indexing a Queryable Attribute
12-4 Selecting Entries of a Cache that Satisfy a Particular Filter
12-5 Selecting and Sorting Entries
12-6 Using the keySet Form of a Query
12-7 Indexing and Querying Multi-Value Attributes
12-8 Using a ChainedExtractor Implementation
13-1 Sample Remote Invocation Scheme Configuration
13-2 Reference to a Remote Invocation Service
14-1 Excerpt from the coherence::util::MapListener Class File
14-2 Excerpt from coherence::util::MapEvent
14-3 ObservableMap methods
14-4 Example MapListener implementation
14-5 Printing Events
14-6 Holding a Reference to a Listener
14-7 Removing a Reference to a Listener
14-8 Using MultiplexingMapListener to Route Events
14-9 Printing Events that Occur Against a Specified Integer Key
14-10 Triggering an Event for a Specified Integer Key Value
14-11 Adding a Listener with a Filter that Allows only Deleted Events
14-12 Inserting and Removing Data from the Cache
14-13 Inserting, Updating, and Removing a Value
14-14 Requesting Only "Lite" Events
14-15 Filtering for Cache Events
14-16 Filtering for Specialized Events
14-17 Communicating Only Specialized Events over the Network
14-18 Differentiating Between Client-Induced and Synthetic Events
15-1 Entry Processor for Extend Client Transaction
15-2 Transaction Entry Processor C++ Stub Class
15-3 Transaction Entry Processor C++ Stub Class Header File
16-1 Sample Command to Start the Proxy Service and the Cache Server
17-1 Configuration of a Default Cache Server for Coherence*Extend
17-2 Configuration to Connect to a Remote Coherence Cluster
17-3 Configuring a Local Cache
17-4 Near Cache Configuration
17-5 Command to Start a Coherence Default Cache Server
17-6 Obtaining a Reference to a Cache
17-7 Obtaining and Releasing a Reference to a Cache
18-1 A User-Defined Portable Class
18-2 A User-Defined Class in Java
18-3 Storing Mapping Information in the POF User Type Configuration File
18-4 Using a Serializer in the Cache Configuration File
18-5 Specifying a POF Configuration File
18-6 Cluster-side POF Configuration File
18-7 Configuring the Server to Use the POF Configuration
18-8 Modifying a Class to Support Class Evolution
18-9 Modifying a Java Type Class to Support Class Evolution
18-10 An Implementation of IPofSerializer for the .NET Type
18-11 An Implementation of PofSerializer for the Java Type Class
18-12 Registering the IPofSerializer Implementation of the .NET Type
18-13 Registering the PofSerializer Implementation of the Java Type
19-1 Sample Application Configuration File
19-2 Configuring a Factory for INamedCache Instances
19-3 Configuring a ConfigurableCacheFactory Implementation
19-4 Specifying a Different Cache Configuration Desriptor File
19-5 Configuring a Logger
19-6 Querying Keys on a Particular Value
19-7 Filtering on an Inserted Object
19-8 Filtering on Removed Object
19-9 Filtering on a Changed Object
19-10 Marshalling and Executing a Call on the UI Thread
19-11 Calling Methods in Response to a Cache Event
19-12 Retrieving Keys Equal to a Numeric Value
19-13 Retrieving Keys Greater Than or Equal To a Numeric Value
19-14 Retrieving Keys Based on a String Value
19-15 Retrieving Keys Based on a Case-Sensitive String Value
19-16 Retrieving Cache Entries Greater Than a Numeric Value
19-17 Retrieving Cache Entries Based on a String Value
19-18 Conditional Put of a Key Value Based on a Numeric Value
19-19 Setting a Key Value Based on a Numeric Value
19-20 Returning the Size of the Cache
19-21 Returning an IDictionary
20-1 Obtaining and Releasing a Reference to a Continuous Query Cache
20-2 Caching Only the Keys in a Continuous Query Cache
20-3 Placing a Listener on a Continuous Query Cache
20-4 Processing Data, then Placing the Listener
20-5 Placing the Listener, then Processing Data
20-6 Providing the Listener During Continuous Query Cache Construction
20-7 Making a Continuous Query Cache Read-Only
21-1 Configuring a Remote Invocation Service
21-2 Obtaining a Reference to a Remote Invocation Service
21-3 Executing an Agent on a Grid Node
22-1 Entry Processor for Extend Client Transaction
22-2 Transaction Entry Processor .NET Stub Class
24-1 Sample App.config File
24-2 Sample coherence.xml File for .NET
24-3 Sample cache-config.xml File for .NET
24-4 Sample pof-config.xml File for .NET
24-5 Sample Class that Implements IPortableObject
24-6 Adding Listeners
24-7 Adding Events
24-8 Adding Cache Event Handlers
24-9 Adding Helper Methods for Event Handlers
25-1 Sample Web.config Configuration File
25-2 Sample coherence.xml Configuration File
25-3 Sample cache-config.xml Configuration File
25-4 Sample pof-config.xml Configuration File
25-5 Code for the GridView Data Control
25-6 ObjectDataSource Code
25-7 Redirecting a User to an Error Page
25-8 Sample Business Object Definition File
25-9 Providing Data to the Data Bind Control
25-10 Event Handler to Provide Data to the Data Bind Control
25-11 Method to Refresh the Grid View
25-12 Method to Handle Page Load Events
25-13 Retrieving a Business Object from the Cache through a Specified Key
25-14 Event Handler for a "Save" Button
25-15 Event Handler for a :Clear" Button
25-16 Event Handler for a "Search" Button
25-17 Event Handler for a "Clear Filter" Button
Scripting on this page enhances content navigation, but does not change the content in any way.