|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FreeSpaceList
FreeSpaceList is the list which maintains the information about the free blocks in a file.
| Method Summary | |
|---|---|
void |
close()
Closes the free space list file |
void |
commit()
Commits the changes to the free space list file |
boolean |
freeTheBlock(long location,
long size)
Frees the specified block in the file |
long |
getFreeBlock(long size)
Returns the free block location |
| Method Detail |
|---|
void close()
throws java.io.IOException
java.io.IOException - if file operation fails
void commit()
throws java.io.IOException
java.io.IOException - if file operation fails
boolean freeTheBlock(long location,
long size)
location - block locationsize - block size
long getFreeBlock(long size)
size - request block size
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||