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.
Difference between revisions of "Configuring a Custom Coordinated Cache (ELUG)"
m (New page: <div style="float:right;border:1px solid #000000;padding:5px">__TOC__ Related Topics</div> This section describes ...) |
m (→How to Configure Transport Class Using Java) |
||
(6 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> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
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]] | |
| 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]] | |
| 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]] | |
| 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]] | |
| 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: | ||
|} | |} | ||
− | + | ||
+ | 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 81: | Line 76: | ||
[[Category: EclipseLink User's Guide]] | [[Category: EclipseLink User's Guide]] | ||
− | [[Category: | + | [[Category: Release 1]] |
[[Category: Task]] | [[Category: Task]] |
Latest revision as of 14:49, 15 October 2008
Contents
Configurable Options for a Custom Coordinated Cache
Option to Configure | Workbench |
Java |
---|---|---|
Configuring cache coordination change propagation at the descriptor level |
||
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:
- Select a session or session broker in the Navigator. Its properties appear in the Editor.
- Click the Cache Coordination tab. The Cache Coordination tab appears.
- Ensure the Enable Cache Coordination option is selected and the Type is User Defined (see Cache Coordination).
Cache Coordination, Transport Class Option - 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()