link start!
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package org.hsqldb.persist;
|
||||
|
||||
public interface LobStore {
|
||||
void close();
|
||||
|
||||
byte[] getBlockBytes(int i, int i2);
|
||||
|
||||
int getBlockSize();
|
||||
|
||||
void setBlockBytes(byte[] bArr, int i, int i2);
|
||||
|
||||
void synch();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package org.hsqldb.persist;
|
||||
|
||||
public interface PersistentStoreCollection {
|
||||
PersistentStore getStore(Object obj);
|
||||
|
||||
void setStore(Object obj, PersistentStore persistentStore);
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package org.hsqldb.persist;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public interface RandomAccessInterface {
|
||||
void close() throws IOException;
|
||||
|
||||
boolean ensureLength(long j);
|
||||
|
||||
long getFilePointer() throws IOException;
|
||||
|
||||
boolean isReadOnly();
|
||||
|
||||
long length() throws IOException;
|
||||
|
||||
int read() throws IOException;
|
||||
|
||||
void read(byte[] bArr, int i, int i2) throws IOException;
|
||||
|
||||
int readInt() throws IOException;
|
||||
|
||||
long readLong() throws IOException;
|
||||
|
||||
void seek(long j) throws IOException;
|
||||
|
||||
boolean setLength(long j);
|
||||
|
||||
void synch();
|
||||
|
||||
boolean wasNio();
|
||||
|
||||
void write(byte[] bArr, int i, int i2) throws IOException;
|
||||
|
||||
void writeInt(int i) throws IOException;
|
||||
|
||||
void writeLong(long j) throws IOException;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package org.hsqldb.persist;
|
||||
|
||||
import org.hsqldb.Database;
|
||||
import org.hsqldb.lib.Storage;
|
||||
|
||||
public interface ScaledRAInterface extends Storage {
|
||||
boolean canAccess(int i);
|
||||
|
||||
boolean canSeek(long j);
|
||||
|
||||
Database getDatabase();
|
||||
}
|
||||
Reference in New Issue
Block a user