1 30 31 32 package org.hsqldb.persist; 33 34 import org.hsqldb.lib.IntLookup; 35 import org.hsqldb.rowio.RowOutputInterface; 36 37 44 public interface CachedObject { 45 46 int getRealSize(RowOutputInterface out); 47 48 void setStorageSize(int size); 49 50 int getStorageSize(); 51 52 int getPos(); 53 54 void setPos(int pos); 55 56 boolean hasChanged(); 57 58 boolean isKeepInMemory(); 59 60 void keepInMemory(boolean keep); 61 62 boolean isInMemory(); 63 64 void setInMemory(boolean in); 65 66 void write(RowOutputInterface out); 67 68 void write(RowOutputInterface out, IntLookup lookup); 69 } 70 | Popular Tags |