1 21 22 package org.apache.derby.iapi.services.cache; 23 24 import org.apache.derby.iapi.error.StandardException; 25 26 59 public interface Cacheable { 60 61 89 public Cacheable setIdentity(Object key) throws StandardException; 90 91 120 public Cacheable createIdentity(Object key, Object createParameter) throws StandardException; 121 122 123 130 public void clearIdentity(); 131 132 138 public Object getIdentity(); 139 140 141 148 public boolean isDirty(); 149 150 170 public void clean(boolean forRemove) throws StandardException; 171 } 172 173 | Popular Tags |