[teiid-issues] [JBoss JIRA] Updated: (TEIID-444) Expose the cache to connectors.

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Mon Apr 6 18:15:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/TEIID-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Reddy updated TEIID-444:
-------------------------------

        Fix Version/s: 6.1.0
    Affects Version/s: 6.0.0


To support providing the Cache services at connector level, Teiid will provide following two methods on the "ExecutionContext" interface in the Connector API

 -- Object getFromCache(CacheScope scope, Object key);
 -- void storeInCache(CacheScope scope,  Object key, Object value); 

Where CacheScope is defined as 

public enum CacheScope {
	REQUEST, // retained until end of every top level request
	SESSION, // retained until end of user session termination
	VDB,	 // retained for life of VDB
	SERVICE, // retained for life of the service
	GLOBAL;  // common across system, query engine life cycle
}

except for REQUEST, the items placed in all other scopes will be replicated across the cluster in server mode. In embedded, no replication is available.

> Expose the cache to connectors.
> -------------------------------
>
>                 Key: TEIID-444
>                 URL: https://jira.jboss.org/jira/browse/TEIID-444
>             Project: Teiid
>          Issue Type: Feature Request
>          Components: Connector API
>    Affects Versions: 6.0.0
>            Reporter: John Doyle
>            Assignee: Ramesh Reddy
>             Fix For: 6.1.0
>
>
> The XML-Relational connectors have historically had their own cache.  I'm modifying the connectors to use JBoss cache and it would benefit users if this connector and other connectors with need of a cache could use the teiid cache to ease cache configuration and monitoring.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the teiid-issues mailing list