org.olap4j.driver.xmla.proxy
Interface XmlaOlap4jCachedProxy

All Superinterfaces:
XmlaOlap4jProxy
All Known Implementing Classes:
XmlaOlap4jHttpProxy

public interface XmlaOlap4jCachedProxy
extends XmlaOlap4jProxy

Extended Proxy interface which supports cached SOAP calls.

Version:
$Id: XmlaOlap4jCachedProxy.java 482 2012-01-05 23:27:27Z jhyde $
Author:
Luc Boudreau

Method Summary
 void setCache(Map<String,String> configParameters, Map<String,String> properties)
          Sets the cache class to use as a SOAP message cache.
 
Methods inherited from interface org.olap4j.driver.xmla.proxy.XmlaOlap4jProxy
get, getEncodingCharsetName, submit
 

Method Detail

setCache

void setCache(Map<String,String> configParameters,
              Map<String,String> properties)
              throws OlapException

Sets the cache class to use as a SOAP message cache.

Calling this method is not mandatory. If it isn't called, no cache will be used and all SOAP requests will be sent to the service end-point.

Parameters:
configParameters - This contains all the parameters used to configure the Olap4j driver. It contains the full class name of the cache implementation to use as well as the raw Cache config parameters.
properties - The properties to configure the cache, so all config parameters which started by Cache.* are inside this convenient thigny.
Throws:
OlapException
See Also:
XmlaOlap4jCache

SourceForge.net_Logo