com.sun.squawk.rms
Interface IRecordStoreEntry
- All Superinterfaces:
- IRmsEntry
- All Known Implementing Classes:
- RecordStoreEntry
public interface IRecordStoreEntry
- extends IRmsEntry
absorbTempEntry
void absorbTempEntry(IRecordStoreEntry tempEntry)
addRecord
int addRecord(byte[] data,
int offset,
int numBytes)
throws RecordStoreException,
RecordStoreFullException
- Throws:
RecordStoreException
RecordStoreFullException
setRecord
void setRecord(int recordId,
byte[] data,
int offset,
int numBytes)
throws InvalidRecordIDException,
RecordStoreException,
RecordStoreFullException
- Throws:
InvalidRecordIDException
RecordStoreException
RecordStoreFullException
deleteRecord
void deleteRecord(int recordId)
throws InvalidRecordIDException,
RecordStoreException
- Throws:
InvalidRecordIDException
RecordStoreException
deleteRecords
void deleteRecords()
throws RecordStoreException
- Throws:
RecordStoreException
getName
String getName()
getNextRecordId
int getNextRecordId()
getNumRecords
int getNumRecords()
getId
int getId()
getRecord
byte[] getRecord(int recordId)
throws InvalidRecordIDException,
RecordStoreException
- Throws:
InvalidRecordIDException
RecordStoreException
getRecord
int getRecord(int recordId,
byte[] buffer,
int offset)
throws InvalidRecordIDException,
RecordStoreException
- Throws:
InvalidRecordIDException
RecordStoreException
getRecordIdsCopy
int[] getRecordIdsCopy()
getRecordSize
int getRecordSize(int recordId)
throws InvalidRecordIDException,
RecordStoreException
- Throws:
InvalidRecordIDException
RecordStoreException
getRecordsSize
int getRecordsSize()
throws RecordStoreException
- Throws:
RecordStoreException
getTimestamp
long getTimestamp()
getVersion
int getVersion()
reVisitRecordEntry
void reVisitRecordEntry(IRecordEntry record)
throws RecordStoreException
- Throws:
RecordStoreException
setId
void setId(int id)
setName
void setName(String name)
visitRecordEntry
void visitRecordEntry(IRecordEntry record)
throws RecordStoreException
- Throws:
RecordStoreException
"For updated information see the Java FRC site"