2/68
List of Examples
1-1 Methods in the InvocationService API
4-1 The Sample HelloWorld Standalone Application
4-2 The Sample Hello World JSP
7-1 Single Server Mode Configuration
7-2 Command to Start Coherence in Single Server Mode
8-1 Determining Services Running in the Cluster
8-2 A Sample MemberListener Implementation
8-3 Using Event Type Information in a MemberEvent Object
9-1 Enabling a Filter for all Network Traffic
9-2 Declaring a Filter in the tangosol-coherence.xml File
9-3 Attaching the Filter to a Service
9-4 Adding the Filter to All Services
9-5 Configuration for a Custom Filter
9-6 Configuring a setConfig Call for a Filter
11-1 Sample One-to-One Cache Mapping
11-2 Sample Cache Name Pattern Mapping
11-3 Initialization Parameters in a Cache Mapping
11-4 Sample Distributed Cache Definition
11-5 Sample Replicated Cache Definition
11-6 Sample Optimistic Cache Definition
11-7 Sample Local Cache Definition
11-8 Sample Near Cache Definition
11-9 Using Cache Scheme References
11-10 Multiple Cache Schemes Using Scheme Inheritance
11-11 Setting Cache Properties
13-1 Cache Configuration Specifying a Refresh-Ahead Factor
13-2 A Cache Configuration with a Cachestore Module
13-3 Implementation of the CacheStore Interface
13-4 Main.java - Interacting with a Controllable CacheStore
13-5 CacheStoreAware.java interface
15-1 Configuration for a Local, In-memory Cache
15-2 Configuration for a NIO In-memory Cache
15-3 Configuration for a Size Limited, In-memory, Local Cache
15-4 Configuration for an In-memory Cache with Expiring Entries
15-5 Configuration to Define a Cache on Disk
15-6 Configuration for a Size Limited Cache on Disk
15-7 Configuration for Persistent cache on disk
15-8 Configuration for Persistent cache on disk with Berkeley DB
15-9 Configuration for In-memory Cache with Disk Based Overflow
15-10 Configuration for the Cache of a Database
15-11 Configuration for a Replicated Cache
15-12 Configuration for a Replicated Cache with Overflow
15-13 Configuration for a Partitioned Cache
15-14 Configuration for a Partitioned Cache with Overflow
15-15 Configuration for a Partitioned Cache of a Database
15-16 Configuration for a Partitioned Cache with a Serializer
15-17 Configuration for a Local Cache of a Partitioned Cache
17-1 Implementation of the PortableObject Interface
17-2 Implementation of the PofSerializer Interface
18-1 Pre-Loading a Cache
18-2 Pre-Loading a Cache Using ConcurrentMap.putAll
18-3 Using a Filter to Query a Cache
18-4 Processing Query Results in Batches
18-5 A Sample Bulk Loading Program
18-6 Terminal Output from the Bulk Loading Program
18-7 Retrieving Storage-Enabled Members of the Cache
18-8 Routine to Get a List of Files Assigned to a Cache Member
18-9 Class to Load Each Member of the Cache
19-1 Excerpt from the MapListener API
19-2 Excerpt from the MapEvent API
19-3 Methods on the ObservableMap API
19-4 Sample MapListener Implementation
19-5 Holding a Reference to a Listener
19-6 Removing a Listener
19-7 Inner Class that Prints Only Cache Insert Events
19-8 Routing All Events to a Single Method for Handling
19-9 Triggering an Event when a Specific Integer Key is Inserted or Updated
19-10 Adding a Listener with Filter for Deleted Events
19-11 Inserting, Updating, and Removing a Value from the Cache
19-12 Sample Output
19-13 Listening for Events from a Cache
19-14 Listening for Events on an Object
19-15 Using MapEventFilter to Filter on Various Events
19-16 Determining Synthetic Events
19-17 An AbstractMultiplexingBackingMapListener Implementation
19-18 Cache Configuration Specifying a Verbose Backing Map Listener
20-1 Equality Filter
20-2 Filter that Constructs a ReflectionExtractor
20-3 Selecting Cache Entries that Satisfy a Filter
20-4 Selecting and Sorting Cache Entries that Satisfy a Filter
20-5 Querying the Cache with a Filter
20-6 Sample Code to Create an Index
20-7 Using a keySet Query Format
20-8 Using a Limit Filter
20-9 Querying on Multi-Value Attributes
20-10 Chaining Invocation Methods
21-1 A Query for a Continuous Query Cache
21-2 Getting Data for the Continuous Query Cache
21-3 Constructing the Continuous Query Cache
21-4 A Constructor that Allows the CacheValues Property
21-5 Setting the CacheValues Property
21-6 Adding a Listener to a Continuous Query Cache
21-7 Processing Continuous Query Cache Entries and Adding a Listener
21-8 Adding a Listener Before Processing Continuous Query Cache Entries
21-9 Providing a Listener When Constructing the Continuous Query Cache
21-10 Making the Continuous Query Cache Read-Only
22-1 Querying Across a Data Grid
22-2 Methods in the EntryProcessor Interface
22-3 InvocableMap.Entry API
22-4 Aggregation in the InvocableMap API
22-5 EntryAggregator API
22-6 ParallelAwareAggregator API for running Aggregation in Parallel
22-7 Simple Agent to Request Garbage Collection
22-8 Agent to Support a Grid-Wide Request and Response Model
22-9 Printing the Results from a Grid-Wide Request or Response
22-10 Stateful Agent Operations
22-11 Using a Work Manager
23-1 Creating a MapTriggerListener in the coherence-cache-config.xml File
23-2 A MapTriggerListener Registering a MapTrigger with a Named Cache
23-3 A MapTrigger Class
23-4 Calling a MapTrigger and Passing it to a Named Cache
24-1 A Command-Line Query Exercise
25-1 Applying Locking Operations on a Cache
25-2 Concurrency Control without Using EntryProcessors
25-3 Concurrency Control Using EntryProcessors
25-4 Example Transactional Cache Definition
25-5 Performing an Auto-Commit Transaction
25-6 Performing a Non Auto-Commit Transaction
25-7 Transaction Across Multiple Caches
25-8 Entry Processor for Extend Client Transaction
25-9 Performing a Transaction When Using CMT
25-10 Performing a User-Controlled Transaction
25-11 Using the CacheAdapter Class When Using coherence-transaction.rar
25-12 Using the CacheAdapter Class When Using coherence-tx.rar
26-1 Creating a Key Association
26-2 A Custom KeyAssociator
26-3 Configuring a Key Associator
26-4 Using Affinity for a More Efficient Query
27-1 Sample Task Time and Task Hung Configuration
27-2 Sample Client Request Timeout Configuration
27-3 Exception Thrown by a TaskTimeout
28-1 Implementing a Custom Eviction Policy
28-2 Custom Eviction Policy in a coherence-cache-config.xml File
30-1 Sample SSL Configuration for TCMP Communication
32-1 Log for a Multicast Outage
33-1 Verifying Hardware Configuration
33-2 Sample Coherence License Configuration
35-1 System Properties for Reporter on the "Management" Node
35-2 System Properties for Reporter on the "Managed" Node
35-3 System Properties for Reporter in Distributed Mode on the "Managing" Node
35-4 System Properties for Reporter in Distributed Mode on the "Managed" Node
36-1 Including an Attribute Obtained from a Query Pattern
36-2 Including Part of an ObjectName Key in a Report
36-3 Including Information from a Composite Attribute in a Report
36-4 Including Information from Multiple MBeans in a Report
36-5 Including Execution Time in a Report
36-6 Including the Report Batch/Count in a Report
36-7 Including the Execution Node
36-8 Including a Constant Numeric Value in a Report
36-9 Including a Constant String in a Report
36-10 Including a List of the Cluster's NodeIDs and RoleNames in a Report
36-11 Using an Equals Filter for a Report
36-12 Defining a "Greater Than" Filter for a Report
36-13 Defining a "Less Than" Filter for a Report
36-14 Defining an "And" Filter for a Report
36-15 Defining an "Or" Filter for a Report
36-16 Defining a "Not Equals" Filter for a Report
36-17 Adding Column Values and Including Results in a Different Column
36-18 Subtracting Column Values and Including Results in a Different Column
36-19 Multiplying Column Values and Including Results in a Different Column
36-20 Dividing Column Values and Including Results in a Different Column
36-21 Adding the Values in a Column
36-22 Calculating the Average of Values in a Column
36-23 Finding the Maximum Value in a Column
36-24 Finding the Minimum Value in a Column
36-25 Delta Calculation for an Attribute
36-26 Delta Calculation for an Attribute with an Alternate Delta Key
37-1 Format of a Report Batch Configuration File (report-group.xml)
39-1 tangosol.coherence.management.report.autostart System Property
39-2 tangosol.coherence.management.report.group System Property
40-1 Using an MBean to Create a Query Node
40-2 Getting an MBean for the Memory System of a Java Virtual Machine
40-3 Executing a JMX Query and Creating an MBean on the MBean Server
40-4 System Property to Load an MBean
41-1 Adding a Standard MBean to Coherence Programatically
43-1 Command to Determine a Multicast Address
43-2 Sequential Multicast Packets Sent by the Multicast Test Utility
43-3 Sample Multicast Test Results from Server A
43-4 Sample Multicast Test Results on Server B
43-5 Command to Set Machine Routing Table
44-1 Command to Start a Listener
44-2 Output from Starting a Listener
44-3 Command to Start a Publisher
44-4 Datagram Test-Starting a Listener and a Publisher on a Server
44-5 Sample Publisher Report
44-6 Sample Lifetime Statistics
44-7 Running Datagram Test in Bi-Directional Mode
45-1 Message Indicating OS Failed to Allocate the Full Buffer Size
45-2 Log Message from a Linux Timesource
45-3 Message Indicating a Communication Delay
45-4 Disabling Partition Storage
45-5 Message Indicating Target Cluster Node is in Garbage Collection Mode
48-1 Trade Object Defining Three Properties
48-2 Mapping a cache-mapping to a caching-scheme with Unlimited Capacity
48-3 Adding an Index to the Price Property
48-4 Perform a Parallel Aggregation Across all JVMs in the Grid
A-1 Operational Configuration Deployment Descriptor DOCTYPE Declaration
A-2 Sample init-param Configuration
A-3 Another Sample init-param Configuration
A-4 Configuration for Two Well-Known-Addresses
D-1 Format of a POF User Type Configuration File (pof-config.xml)
F-1 Writing a 32-bit Integer Value to an Octet Stream
F-2 Reading a 32-bit Integer Value from an Octet Stream
F-3 Writing a Character Value to an Octet Stream
F-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.