SunSPOT API V3.0


com.sun.squawk.flash
Interface INorFlashMemoryHeap

All Known Implementing Classes:
NorFlashMemoryHeap

public interface INorFlashMemoryHeap


Method Summary
 Address allocateAndWriteBlock(byte[] bytes, int offset, int length, INorFlashMemoryHeapScanner scanner)
           
 void forceEraseAll()
           
 void freeBlockAt(Address address)
           
 IMemoryHeapBlock getBlockAt(Address address)
           
 long getErasedSequenceCurrentValue()
           
 int getSizeAvailable()
           
 void scanBlocks(INorFlashMemoryHeapScanner scanner)
           
 

Method Detail

allocateAndWriteBlock

Address allocateAndWriteBlock(byte[] bytes,
                              int offset,
                              int length,
                              INorFlashMemoryHeapScanner scanner)
                              throws RecordStoreException
Throws:
RecordStoreException

forceEraseAll

void forceEraseAll()

freeBlockAt

void freeBlockAt(Address address)
                 throws RecordStoreException
Throws:
RecordStoreException

getBlockAt

IMemoryHeapBlock getBlockAt(Address address)
                            throws RecordStoreException
Throws:
RecordStoreException

getErasedSequenceCurrentValue

long getErasedSequenceCurrentValue()

getSizeAvailable

int getSizeAvailable()
                     throws RecordStoreException
Throws:
RecordStoreException

scanBlocks

void scanBlocks(INorFlashMemoryHeapScanner scanner)
                throws RecordStoreException
Throws:
RecordStoreException

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.