Groups > BEA > BEA AquaLogic > Re: How to prevent caching of result for a perticular call?




Re: How to prevent caching of result for a perticular call?

Re: How to prevent caching of result for a perticular call?
Wed, 16 Apr 2008 08:51:34 -070
You need to take a slightly different approach.  You do not enable caching on
your function.  Suppose it is getCustomer( $custID).  Now you write a new
function ... getCachedCustomer( $custID ) {
 getCustomer( $custID )
}
And you enable caching on that function.  When you want caching - call
getCachedCustomer( $cacheID ); when you don't want caching, call getCustomer(
$cacheID )

To force read through, see GET_CURRENT_DATA in
http://e-docs.bea.com/aldsp/docs30/javadoc/com/bea/dsp/RequestConfig.html.  The
setting is made on the 
Post Reply
about | contact