vishnu.persistence
Interface PersistenceConnector

All Known Implementing Classes:
ExclusivePersistenceConnector, PersistenceConnectorImpl

public interface PersistenceConnector

RandomAccessFile wrapper

Author:
Mariano Tepper
 

Method Summary
 void close()
           
 long getFilePointer()
           
 long length()
           
 boolean readBoolean()
           
 double readDouble()
           
 int readInt()
           
 long readLong()
           
 java.lang.String readString()
           
 void seek(long l)
           
 void skipBytes(int i)
           
 void write(byte[] b)
           
 void writeBoolean(boolean b)
           
 void writeChar(char c)
           
 void writeDouble(double d)
           
 void writeInt(int i)
           
 void writeLong(long l)
           
 void writeString(java.lang.String s)
           
 

Method Detail

writeBoolean

void writeBoolean(boolean b)

readBoolean

boolean readBoolean()

writeInt

void writeInt(int i)

readInt

int readInt()

writeLong

void writeLong(long l)

readLong

long readLong()

writeDouble

void writeDouble(double d)

readDouble

double readDouble()

writeString

void writeString(java.lang.String s)

readString

java.lang.String readString()

writeChar

void writeChar(char c)

write

void write(byte[] b)

skipBytes

void skipBytes(int i)

getFilePointer

long getFilePointer()

seek

void seek(long l)

length

long length()

close

void close()