|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INorFlashSectorAllocator
INorFlashSectorAllocator is part of the implementation of the Record Management Store
(see RecordStore
). It should not be used for other purposes.
Method Summary | |
---|---|
INorFlashSector |
getExtraSector(int purpose)
|
INorFlashSector[] |
getInitialSectors(int purpose)
|
void |
releaseSector(INorFlashSector sector,
int purpose)
Notify the allocator that a previously allocated sector is no longer required |
Method Detail |
---|
INorFlashSector getExtraSector(int purpose) throws InsufficientFlashMemoryException
purpose
- code (defined in INorFlashSector
) indicating purpose of sector
InsufficientFlashMemoryException
INorFlashSector[] getInitialSectors(int purpose) throws IOException
purpose
- code (defined in INorFlashSector
) indicating purpose of sectors
InsufficientFlashMemoryException
IOException
void releaseSector(INorFlashSector sector, int purpose)
sector
- the sector to freepurpose
- code (defined in INorFlashSector
) indicating purpose of sector
|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |