ResultCache impl for extensions of DataConnector

Cantor, Scott cantor.2 at osu.edu
Wed Sep 6 16:26:03 EDT 2017


On 9/6/17, 4:15 PM, "dev on behalf of O'Dowd, Josh" <dev-bounces at shibboleth.net on behalf of Josh.O'Dowd at mso.umt.edu> wrote:

> We have and extended the AbstractSearchDataConnector and I would like to support ResultCache with that connector.  I am not
> finding any documentation on what, if any implementation I need to provide for ResultCache for this connector and how to
> enable it, as a custom plugin.

Ignoring the XML configuration, the functionality to use one is already in that base class, but you have to take into consideration that that's an implementation class for the time being, so it's not part of the API and not guaranteed to be stable.

Likewise I believe all the logic that would make it easy to support XML configuration is also not API, unfortunately, but there's a class called CacheConfigParser that does all that.

-- Scott




More information about the dev mailing list