| 
 | " 2013 FRC Java API" | |||||||||
| 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[] getInitialSectors(int purpose)
                                    throws IOException
purpose - code (defined in INorFlashSector) indicating purpose of sectors
InsufficientFlashMemoryException
IOException
INorFlashSector getExtraSector(int purpose)
                               throws InsufficientFlashMemoryException
purpose - code (defined in INorFlashSector) indicating purpose of sector
InsufficientFlashMemoryException
void releaseSector(INorFlashSector sector,
                   int purpose)
sector - the sector to freepurpose - code (defined in INorFlashSector) indicating purpose of sector| 
 | " 2013 FRC Java API" | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||