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)
 
(3 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>For more information, see [[Introduction%20to%20Cache%20(ELUG)#Custom Coordinated Cache|Custom Coordinated Cache]].
+
[[Special:Whatlinkshere/Configuring a Custom Coordinated Cache (ELUG)|Related Topics]]</div>
  
  
Line 40: Line 40:
 
[[Image:support.gif|Supported]]<br>
 
[[Image:support.gif|Supported]]<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>.
 
  
  
Line 56: 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 66: 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