com.sun.squawk.flash
Interface INorFlashSectorState
- All Known Implementing Classes:
- NorFlashSectorState
public interface INorFlashSectorState
decrementMallocedCount
void decrementMallocedCount()
erase
void erase(long sequence)
throws RecordStoreException
- Throws:
RecordStoreException
forceErase
void forceErase()
throws RecordStoreException
- Throws:
RecordStoreException
getAllocatedBlockCount
int getAllocatedBlockCount()
getEndAddress
Address getEndAddress()
getFreedBlockCount
int getFreedBlockCount()
getNextSector
INorFlashSectorState getNextSector()
getOwningList
INorFlashSectorStateList getOwningList()
getSequence
long getSequence()
getSize
int getSize()
getStartAddress
Address getStartAddress()
getWriteHeadAddress
Address getWriteHeadAddress()
getWriteHeadPosition
int getWriteHeadPosition()
hasAvailable
boolean hasAvailable(int length)
hasErasedHeader
boolean hasErasedHeader()
incrementAllocatedBlockCount
void incrementAllocatedBlockCount()
incrementFreedBlockCount
void incrementFreedBlockCount()
readBytes
void readBytes(int offset,
byte[] buffer,
int bufferStart,
int bufferLength)
throws RecordStoreException
- Throws:
RecordStoreException
removeErasedHeader
void removeErasedHeader()
throws RecordStoreException
- Throws:
RecordStoreException
resetHead
void resetHead()
setNextSector
void setNextSector(INorFlashSectorState next)
setOwningList
void setOwningList(INorFlashSectorStateList list)
setWriteHeadPosition
void setWriteHeadPosition(int position)
writeBytes
void writeBytes(int offset,
byte[] buffer,
int bufferStart,
int bufferLength)
throws RecordStoreException
- Throws:
RecordStoreException
writeBytes
void writeBytes(byte[] buffer,
int bufferStart,
int bufferLength)
throws RecordStoreException
- Throws:
RecordStoreException
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.