Expresso 5-5-0

com.jcorporate.expresso.core.dbobj
Class CacheUtils

java.lang.Object
  extended bycom.jcorporate.expresso.core.dbobj.CacheUtils

public class CacheUtils
extends Object

Title:

Description:

Copyright:

Company:

Version:
$Revision: 1.2 $ on $Date: 2003/10/27 19:10:33 $
Author:
Michael Rimov

Constructor Summary
protected CacheUtils()
           
 
Method Summary
static void addToCache(DBObject theDBObj)
          When using basic caching, this method is used to add a new DB object to the cache, where it is later used when retrieveing data instead of going directly to the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheUtils

protected CacheUtils()
Method Detail

addToCache

public static void addToCache(DBObject theDBObj)
                       throws DBException
When using basic caching, this method is used to add a new DB object to the cache, where it is later used when retrieveing data instead of going directly to the database. This functionality can be controlled with the "dbCache" property in the properties file(s).

Parameters:
theDBObj - com.jcorporate.expresso.core.dbobj.DBObject The object to be cached
Throws:
DBException

Expresso 5-5-0

Please see www.jcorporate.com for information about new Expresso releases.