1 package org.apache.ojb.broker.cache; 2 3 17 18 import org.apache.ojb.broker.Identity; 19 20 26 public interface ObjectCacheInternal extends ObjectCache 27 { 28 31 public static final int TYPE_WRITE = 5; 32 35 public static final int TYPE_CACHED_READ = 7; 36 39 public static final int TYPE_NEW_MATERIALIZED = 11; 40 43 public static final int TYPE_UNKNOWN = 0; 44 48 public static final int TYPE_TEMP = -1; 49 50 51 57 public void doInternalCache(Identity oid, Object obj, int type); 58 59 79 public boolean cacheIfNew(Identity oid, Object obj); 80 } 81 | Popular Tags |