1 21 22 package org.apache.derby.iapi.store.raw.data; 23 24 import org.apache.derby.iapi.store.raw.ContainerHandle; 25 import org.apache.derby.iapi.store.raw.Page; 26 import org.apache.derby.iapi.store.raw.log.LogInstant; 27 28 import org.apache.derby.iapi.error.StandardException; 29 30 import org.apache.derby.iapi.util.ByteArray; 31 32 38 39 public interface RawContainerHandle extends ContainerHandle { 40 41 51 public static final int NORMAL = 1; 52 public static final int DROPPED = 2; 53 public static final int COMMITTED_DROP = 4; 54 55 59 public int getContainerStatus() throws StandardException; 60 61 66 public void removeContainer(LogInstant instant) throws StandardException; 67 68 73 public void dropContainer(LogInstant instant, boolean drop) throws StandardException; 74 75 79 public long getContainerVersion() throws StandardException; 80 81 87 public Page getAnyPage(long pageNumber) throws StandardException; 88 89 90 91 92 100 public Page reCreatePageForRedoRecovery( 101 int pageFormat, 102 long pageNumber, 103 long pageOffset) 104 throws StandardException; 105 106 112 public ByteArray logCreateContainerInfo() throws StandardException; 113 114 122 public void preDirty(boolean preDirtyOn) throws StandardException; 123 124 125 131 public void encryptContainer(String newFilePath) throws StandardException; 132 133 } 134 | Popular Tags |