You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by ar...@apache.org on 2004/05/06 20:13:45 UTC

cvs commit: db-ojb/src/java/org/apache/ojb/broker/cache InternalCache.java

arminw      2004/05/06 11:13:44

  Modified:    src/java/org/apache/ojb/broker/cache InternalCache.java
  Log:
  restore class comment
  
  Revision  Changes    Path
  1.4       +19 -7     db-ojb/src/java/org/apache/ojb/broker/cache/InternalCache.java
  
  Index: InternalCache.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/cache/InternalCache.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- InternalCache.java	4 Apr 2004 23:53:33 -0000	1.3
  +++ InternalCache.java	6 May 2004 18:13:44 -0000	1.4
  @@ -1,12 +1,5 @@
   package org.apache.ojb.broker.cache;
   
  -import java.util.HashMap;
  -import java.util.Iterator;
  -
  -import org.apache.ojb.broker.Identity;
  -import org.apache.ojb.broker.util.logging.LoggerFactory;
  -import org.apache.ojb.broker.util.logging.Logger;
  -
   /* Copyright 2004-2004 The Apache Software Foundation
    *
    * Licensed under the Apache License, Version 2.0 (the "License");
  @@ -20,6 +13,25 @@
    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    * See the License for the specific language governing permissions and
    * limitations under the License.
  + */
  +
  +import java.util.HashMap;
  +import java.util.Iterator;
  +
  +import org.apache.ojb.broker.Identity;
  +import org.apache.ojb.broker.util.logging.LoggerFactory;
  +import org.apache.ojb.broker.util.logging.Logger;
  +
  +/**
  + * A wrapper class for {@link ObjectCache} implementation. This class is used as a
  + * workaround for a concurrency materialization problem with shared cache implementations.
  + * To avoid passing of partial materialized objects to cache this class act as a
  + * temporary storage for unmaterialized (read) objects.
  + * <br/>
  + * TODO: Will be replaced on cache refactoring
  + *
  + * @author <a href="mailto:arminw@apache.org">Armin Waibel</a>
  + * @version $Id$
    */
   public class InternalCache implements ObjectCache
   {
  
  
  

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