db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/contrib/src ObjectCacheOSCacheImpl.java
Date Mon, 07 Feb 2005 20:52:18 GMT
arminw      2005/02/07 12:52:18

  Modified:    contrib/src Tag: OJB_1_0_RELEASE ObjectCacheOSCacheImpl.java
  Log:
  update docs
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.4.2   +9 -2      db-ojb/contrib/src/ObjectCacheOSCacheImpl.java
  
  Index: ObjectCacheOSCacheImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/contrib/src/ObjectCacheOSCacheImpl.java,v
  retrieving revision 1.1.4.1
  retrieving revision 1.1.4.2
  diff -u -r1.1.4.1 -r1.1.4.2
  --- ObjectCacheOSCacheImpl.java	23 Jan 2005 03:09:13 -0000	1.1.4.1
  +++ ObjectCacheOSCacheImpl.java	7 Feb 2005 20:52:18 -0000	1.1.4.2
  @@ -26,9 +26,11 @@
    */
   
   /**
  - * ObjectCache implementation to use OSCache.
  + * ObjectCache implementation to use OSCache. We use the extended caching interface
  + * {@link ObjectCacheInternal} to allow usage of this implementation in
  + * {@link ObjectCacheTwoLevelImpl}.
    */
  -public class ObjectCacheOSCacheImpl implements ObjectCache
  +public class ObjectCacheOSCacheImpl implements ObjectCacheInternal
   {
       private Logger log = LoggerFactory.getLogger(ObjectCacheOSCacheImpl.class);
       private static GeneralCacheAdministrator admin = new GeneralCacheAdministrator();
  @@ -55,6 +57,11 @@
           }
       }
   
  +    public void doInternalCache(Identity oid, Object obj, int type)
  +    {
  +        cache(oid, obj);
  +    }
  +
       public boolean cacheIfNew(Identity oid, Object obj)
       {
           boolean result = false;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message