incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Connectors Framework > How to Write an Output Connector
Date Sat, 23 Oct 2010 19:19:00 GMT
Space: Apache Connectors Framework (https://cwiki.apache.org/confluence/display/CONNECTORS)
Page: How to Write an Output Connector (https://cwiki.apache.org/confluence/display/CONNECTORS/How+to+Write+an+Output+Connector)
Comment: https://cwiki.apache.org/confluence/display/CONNECTORS/How+to+Write+an+Output+Connector?focusedCommentId=24184125#comment-24184125

Comment added by Karl Wright:
---------------------------------------------------------------------

I would suggest buying the book when it comes out before you attempt to work with caching. 
Right now you are effectively querying with caching disabled, and that should be ok for your
purposes.

In reply to a comment by Farzad:
Thanks for the re-clarification in item 1.  As far as cache keys, the CookieManager example
didn't use one during its performInsert so I didn't either.  However going back through the
code, I see the ICacheManager object that it sets up in the constructor.  It then gets an
ICacheHandle using "COOKIES_" + <db column name> and before the endTransaction() it
calls ICacheManager.invalidateKeys passing the ICacheHandle.

I don't understand what this doing or its purpose to apply it to my case.  Is cache keys a
general concept I'm missing?

Change your notification preferences: https://cwiki.apache.org/confluence/users/viewnotifications.action

Mime
View raw message