Skip Headers
Oracle® Coherence Developer's Guide
Release 3.5
Part Number E14509-01
Home
Book List
Contents
Contact Us
Previous
Next
View PDF
List of Examples
1-1 Typical Cache Operations in a Java Program
1-2 Sample Cache Configuration File
1-3 cache-scheme Definition for a Distributed Cache
1-4 Mapping to a Distributed Cache
1-5 Configuration for a Distributed Cache
1-6 Output from Starting a Coherence Server
1-7 Output from the help Command
1-8 Output from the info Command
1-9 Putting a Value into the Cache
1-10 Retrieving a Value from the Cache
1-11 Specifying a Distributed Cache in the cache-config File
1-12 Running SimpleCacheExplorer.java with a Distributed Cache
1-13 Adding an Eviction Policy to a cache-config File
1-14 Running SimpleCacheExplorer.java with an Eviction Policy
2-1 Applying Locking Operations on a Cache
2-2 Updating the Cache in a Transaction
2-3 Configuration for a JCA Container
2-4 Concurrency Control without Using EntryProcessors
2-5 Concurrency Control Using EntryProcessors
3-1 A Query for a Continuous Query Cache
3-2 Getting Data for the Continuous Query Cache
3-3 Constructing the Continuous Query Cache
3-4 A Constructor that Allows the CacheValues Property
3-5 Setting the CacheValues Property
3-6 Adding a Listener to a Continuous Query Cache
3-7 Processing Continuous Query Cache Entries and Adding a Listener
3-8 Adding a Listener Before Processing Continuous Query Cache Entries
3-9 Providing a Listener When Constructing the Continuous Query Cache
3-10 Making the Continuous Query Cache Read-Only
4-1 Creating a MapTriggerListener in the coherence-cache-config.xml File
4-2 A MapTriggerListener Registering a MapTrigger with a Named Cache
4-3 A MapTrigger Class
4-4 Calling a MapTrigger and Passing it to a Named Cache
5-1 Creating a Key Association
5-2 A Custom KeyAssociator
5-3 Configuring a Key Associator
5-4 Using Affinity for a More Efficient Query
6-1 Querying the Cache with a Filter
6-2 Using LimitFilter Class to Limit the Amount of Data Sent to the Client
6-3 Indexing a Queryable Attribute
6-4 Querying the Near Cache
6-5 Equality Filter
6-6 Filter that Constructs a ReflectionExtractor
6-7 Selecting Cache Entries that Satisfy a Filter
6-8 Selecting and Sorting Cache Entries that Satisfy a Filter
6-9 Using a keySet Query Format
6-10 Querying on Multi-Value Attributes
6-11 Chaining Invocation Methods
8-1 Enabling a Filter for all Network Traffic
8-2 Declaring a Filter in the tangosol-coherence.xml File
8-3 Attaching the Filter to a Service
8-4 Adding the Filter to All Services
8-5 Configuration for a Custom Filter
8-6 Configuring a setConfig Call for a Filter
9-1 Sample Task Time and Task Hung Configuration
9-2 Sample Client Request Timeout Configuration
9-3 Exception Thrown by a TaskTimeout
10-1 Implementing a Custom Eviction Policy
10-2 Custom Eviction Policy in a coherence-cache-config.xml File
12-1 Pre-Loading a Cache
12-2 Pre-Loading a Cache Using ConcurrentMap.putAll
12-3 Using a Filter to Query a Cache
12-4 Processing Query Results in Batches
12-5 A Sample Bulk Loading Program
12-6 Terminal Output from the Bulk Loading Program
12-7 Retrieving Storage-Enabled Members of the Cache
12-8 Routine to Get a List of Files Assigned to a Cache Member
12-9 Class to Load Each Member of the Cache
12-10 Server Response from the Sample Distributed Loading Application
15-1 Command to Determine a Multicast Address
15-2 Sequential Multicast Packets Sent by the Multicast Test Utility
15-3 Sample Multicast Test Results from Server A
15-4 Sample Multicast Test Results on Server B
15-5 Command to Set Machine Routing Table
16-1 Command to Start a Listener
16-2 Output from Starting a Listener
16-3 Command to Start a Publisher
16-4 Datagram Test-Starting a Listener and a Publisher on a Server
16-5 Sample Publisher Report
16-6 Sample Lifetime Statistics
16-7 Running Datagram Test in Bi-Directional Mode
17-1 Coherence*Extend Client Descriptor that uses Extend-TCP
17-2 Cluster-Side Cache Configuration Descriptor for Extend-TCP
17-3 Command to Start a Client Application that Uses Extend-TCP
17-4 Sample Coherence*Extend Application
17-5 Client-Side Configuration to Encrypt Network Traffic
17-6 Cluster-Side Proxy Scheme Configuration
17-7 Client-Side Configuration to Allow Read-only Access to the Cache
17-8 Client Configuration to Allow NamedCache Locking
17-9 Client Configuration to Allow Locking for Partitioned or Replicated Caches
17-10 Client Configuration to Disable Proxy Service
17-11 Client Configuration to Prevent Cache Access
19-1 Message Indicating OS Failed to Allocate the Full Buffer Size
19-2 Log Message from a Linux Timesource
19-3 Message Indicating a Communication Delay
19-4 Message Indicating Target Cluster Node is in Garbage Collection Mode
20-1 Single Server Mode Configuration
20-2 Command to Start Coherence in Single Server Mode
22-1 System Properties for Reporter on the "Management" Node
22-2 System Properties for Reporter on the "Managed" Node
22-3 System Properties for Reporter in Distributed Mode on the "Managing" Node
22-4 System Properties for Reporter in Distributed Mode on the "Managed" Node
23-1 Including an Attribute Obtained from a Query Pattern
23-2 Including Part of an ObjectName Key in a Report
23-3 Including Information from a Composite Attribute in a Report
23-4 Including Information from Multiple MBeans in a Report
23-5 Including Execution Time in a Report
23-6 Including the Report Batch/Count in a Report
23-7 Including the Execution Node
23-8 Including a Constant Numeric Value in a Report
23-9 Including a Constant String in a Report
23-10 Including a List of the Cluster's NodeIDs and RoleNames in a Report
23-11 Using an Equals Filter for a Report
23-12 Defining a "Greater Than" Filter for a Report
23-13 Defining a "Less Than" Filter for a Report
23-14 Defining an "And" Filter for a Report
23-15 Defining an "Or" Filter for a Report
23-16 Defining a "Not Equals" Filter for a Report
23-17 Adding Column Values and Including Results in a Different Column
23-18 Subtracting Column Values and Including Results in a Different Column
23-19 Multiplying Column Values and Including Results in a Different Column
23-20 Dividing Column Values and Including Results in a Different Column
23-21 Adding the Values in a Column
23-22 Calculating the Average of Values in a Column
23-23 Finding the Maximum Value in a Column
23-24 Finding the Minimum Value in a Column
23-25 Delta Calculation for an Attribute
23-26 Delta Calculation for an Attribute with an Alternate Delta Key
24-1 Format of a Report Batch Configuration File (report-group.xml)
26-1 tangosol.coherence.management.report.autostart System Property
26-2 tangosol.coherence.management.report.group System Property
27-1 Using an MBean to Create a Query Node
27-2 Getting an MBean for the Memory System of a Java Virtual Machine
27-3 Executing a JMX Query and Creating an MBean on the MBean Server
27-4 System Property to Load an MBean
28-1 Adding a Standard MBean to Coherence Programatically
A-1 Verifying Hardware Configuration
A-2 Sample Coherence License Configuration
D-1 Configuring Two Different Distributed Schemes
D-2 Configuring Equivalent Scheme Definitions
D-3 Multiple Schemes Reusing the Same Base Definition
F-1 Configuration for a Local, In-memory Cache
F-2 Configuration for a NIO In-memory Cache
F-3 Configuration for a Size Limited, In-memory, Local Cache
F-4 Configuration for an In-memory Cache with Expiring Entries
F-5 Configuration to Define a Cache on Disk
F-6 Configuration for a Size Limited Cache on Disk
F-7 Configuration for Persistent cache on disk
F-8 Configuration for Persistent cache on disk with Berkeley DB
F-9 Configuration for In-memory Cache with Disk Based Overflow
F-10 Configuration for the Cache of a Database
F-11 Configuration for a Replicated Cache
F-12 Configuration for a Replicated Cache with Overflow
F-13 Configuration for a Partitioned Cache
F-14 Configuration for a Partitioned Cache with Overflow
F-15 Configuration for a Partitioned Cache of a Database
F-16 Configuration for a Partitioned Cache with a Serializer
F-17 Configuration for a Local Cache of a Partitioned Cache
G-1 Implementation of the CacheStore Interface
G-2 Main.java - Interacting with a Controllable CacheStore
G-3 CacheStoreAware.java interface
H-1 Operational Configuration Deployment Descriptor DOCTYPE Declaration
H-2 Configuration for Two Well-Known-Addresses
I-1 Sample init-param Configuration
I-2 Another Sample init-param Configuration
J-1 Format of a POF User Type Configuration File (pof-config.xml)
K-1 Format and Nesting of MBean Configuration Elements
M-1 Log for a Multicast Outage
N-1 Disabling Storage in tangosol-coherence-override.xml
N-2 Casting an ArrayList Object
N-3 Configuring a POFSerializer for a Distributed Cache
O-1 Trade Object Defining Three Properties
O-2 Mapping a cache-mapping to a caching-scheme with Unlimited Capacity
O-3 Adding an Index to the Price Property
O-4 Perform a Parallel Aggregation Across all JVMs in the Grid
P-1 Writing a 32-bit Integer Value to an Octet Stream
P-2 Reading a 32-bit Integer Value from an Octet Stream
P-3 Writing a Character Value to an Octet Stream
P-4 Reading a Character Value from an Octet Stream