1 2 12 package com.versant.core.jdo; 13 14 import com.versant.core.jdo.PCStateMan; 15 import com.versant.core.jdo.PMCacheEntry; 16 import com.versant.core.jdo.PMCacheEntryOwnerRef; 17 import com.versant.core.common.State; 18 import com.versant.core.common.Debug; 19 20 import java.lang.ref.SoftReference ; 21 import java.lang.ref.ReferenceQueue ; 22 23 import com.versant.core.common.BindingSupportImpl; 24 import com.versant.core.common.State; 25 26 31 public class SoftCacheEntryRef extends SoftReference implements PMCacheEntryOwnerRef { 32 private PMCacheEntry owner; 33 34 public SoftCacheEntryRef(Object referent, ReferenceQueue q, PMCacheEntry owner) { 35 super(referent, q); 36 this.owner = owner; 37 } 38 39 public PMCacheEntry getOwner() { 40 return owner; 41 } 42 } 43 | Popular Tags |