Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Configuring a Custom Coordinated Cache (ELUG)"

m
m (How to Configure Transport Class Using Java)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<div style="float:right;border:1px solid #000000;padding:5px">__TOC__
 
<div style="float:right;border:1px solid #000000;padding:5px">__TOC__
 
[[Special:Whatlinkshere/Configuring a Custom Coordinated Cache (ELUG)|Related Topics]]</div>
 
[[Special:Whatlinkshere/Configuring a Custom Coordinated Cache (ELUG)|Related Topics]]</div>
 
 
This section describes the various components that you must configure to use a custom, user-defined coordinated cache. For more information, see [[Introduction%20to%20Cache%20(ELUG)#Custom Coordinated Cache|Custom Coordinated Cache]].
 
 
[[#Table 103-1|Configurable Options for a Custom Coordinated Cache]] lists the configurable options for a custom, user-defined coordinated cache.
 
 
 
 
==Introduction to Custom Coordinated Cache Configuration==
 
 
This table lists the configurable options for a custom coordinated cache.
 
  
  
Line 24: Line 13:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r2c1-t2" headers="r1c1-t2" align="left" |
 
| id="r2c1-t2" headers="r1c1-t2" align="left" |
[[Configuring%20a%20Descriptor%20(ELUG)#Configuring Cache Coordination Change Propagation at the Descriptor Level|Configuring Cache Coordination Change Propagation at the Descriptor Level]]
+
[[Configuring%20a%20Descriptor%20(ELUG)#Configuring Cache Coordination Change Propagation at the Descriptor Level|Configuring cache coordination change propagation at the descriptor level]]
 
| headers="r2c1-t2 r1c2-t2" align="left" |
 
| headers="r2c1-t2 r1c2-t2" align="left" |
 
[[Image:support.gif|Supported]]<br>
 
[[Image:support.gif|Supported]]<br>
Line 31: Line 20:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r3c1-t2" headers="r1c1-t2" align="left" |
 
| id="r3c1-t2" headers="r1c1-t2" align="left" |
[[Configuring%20a%20Coordinated%20Cache%20(ELUG)#Configuring a Service Channel|Configuring a Service Channel]]
+
[[Configuring%20a%20Coordinated%20Cache%20(ELUG)#Configuring a Service Channel|Configuring a service channel]]
 
| headers="r3c1-t2 r1c2-t2" align="left" |
 
| headers="r3c1-t2 r1c2-t2" align="left" |
 
[[Image:support.gif|Supported]]<br>
 
[[Image:support.gif|Supported]]<br>
Line 38: Line 27:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r4c1-t2" headers="r1c1-t2" align="left" |
 
| id="r4c1-t2" headers="r1c1-t2" align="left" |
[[#Configuring Transport Class|Configuring Transport Class]]
+
[[#Configuring Transport Class|Configuring transport class]]
 
| headers="r4c1-t2 r1c2-t2" align="left" |
 
| headers="r4c1-t2 r1c2-t2" align="left" |
 
[[Image:support.gif|Supported]]<br>
 
[[Image:support.gif|Supported]]<br>
Line 45: Line 34:
 
|- align="left" valign="top"
 
|- align="left" valign="top"
 
| id="r5c1-t2" headers="r1c1-t2" align="left" |
 
| id="r5c1-t2" headers="r1c1-t2" align="left" |
[[Configuring%20a%20Coordinated%20Cache%20(ELUG)#Configuring Connection Handling|Configuring Connection Handling]]
+
[[Configuring%20a%20Coordinated%20Cache%20(ELUG)#Configuring Connection Handling|Configuring connection handling]]
 
| headers="r5c1-t2 r1c2-t2" align="left" |
 
| headers="r5c1-t2 r1c2-t2" align="left" |
 
[[Image:support.gif|Supported]]<br>
 
[[Image:support.gif|Supported]]<br>
Line 52: Line 41:
 
|}
 
|}
  
<br>
+
 
 +
For more information, see [[Introduction%20to%20Cache%20(ELUG)#Custom Coordinated Cache|Custom Coordinated Cache]].
 +
 
 +
 
  
 
==Configuring Transport Class==
 
==Configuring Transport Class==
  
 
To configure a custom coordinated cache, you must specify your custom instance of <tt>org.eclipse.persistence.sessions.coordination.TransportManager</tt>.
 
To configure a custom coordinated cache, you must specify your custom instance of <tt>org.eclipse.persistence.sessions.coordination.TransportManager</tt>.
 
 
  
  
 
===How to Configure Transport Class Using Workbench===
 
===How to Configure Transport Class Using Workbench===
 
 
To select the transport class for the user defined coordinated cache, use this procedure:
 
To select the transport class for the user defined coordinated cache, use this procedure:
  
Line 70: Line 59:
 
# Click '''Browse''' and select the transport class for the user-defined coordinated cache.
 
# Click '''Browse''' and select the transport class for the user-defined coordinated cache.
  
 +
 +
 +
===How to Configure Transport Class Using Java===
 +
Create a custom instance of the <tt>org.eclipse.persistence.sessions.coordination.TransportManager</tt> that you use as a transport class for your coordinated cache.
 +
 +
You obtain the <tt>TransportManager</tt> using the following <tt>Session</tt> API:
 +
Session.getCommandManager().getTransportManager()
  
  
Line 80: Line 76:
  
 
[[Category: EclipseLink User's Guide]]
 
[[Category: EclipseLink User's Guide]]
[[Category: Draft]]
+
[[Category: Release 1]]
 
[[Category: Task]]
 
[[Category: Task]]

Latest revision as of 14:49, 15 October 2008


Configurable Options for a Custom Coordinated Cache

Option to Configure Workbench
Java

Configuring cache coordination change propagation at the descriptor level

Supported

Supported

Configuring a service channel

Supported

Supported

Configuring transport class

Supported

Supported

Configuring connection handling

Supported

Supported


For more information, see Custom Coordinated Cache.


Configuring Transport Class

To configure a custom coordinated cache, you must specify your custom instance of org.eclipse.persistence.sessions.coordination.TransportManager.


How to Configure Transport Class Using Workbench

To select the transport class for the user defined coordinated cache, use this procedure:

  1. Select a session or session broker in the Navigator. Its properties appear in the Editor.
  2. Click the Cache Coordination tab. The Cache Coordination tab appears.
  3. Ensure the Enable Cache Coordination option is selected and the Type is User Defined (see Cache Coordination).
    Cache Coordination, Transport Class Option
    Cache Coordination, Transport Class Option

  4. Click Browse and select the transport class for the user-defined coordinated cache.


How to Configure Transport Class Using Java

Create a custom instance of the org.eclipse.persistence.sessions.coordination.TransportManager that you use as a transport class for your coordinated cache.

You obtain the TransportManager using the following Session API:

Session.getCommandManager().getTransportManager()




Copyright Statement

Back to the top