- java.lang.Object
- 
- swim.db.Zone
- 
- swim.db.FileZone
 
 
- 
 public class FileZone extends Zone 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanclose()ChunkcommitAndWriteChunk(Commit commit)Databasedatabase()protected voiddidClose()Lifecycle callback invoked upon entering the closed state.protected voiddidOpen()Lifecycle callback invoked upon entering the opened state.Filefile()Germgerm()intid()protected GermloadGerm()protected voidonClose()Lifecycle callback invoked to actually close the zone.protected voidonOpen()Lifecycle callback invoked to actually open the zone.booleanopen()DatabaseopenDatabase()FileChannelopenReadChannel()FileChannelopenWriteChannel()protected GermparseGerm(Input input)StoreSettingssettings()longsize()Stagestage()Storestore()protected voidwillClose()Lifecycle callback invoked upon entering the closing state.protected voidwillOpen()Lifecycle callback invoked upon entering the opening state.
 
- 
- 
- 
Method Detail- 
storepublic final Store store() 
 - 
filepublic final File file() 
 - 
stagepublic final Stage stage() 
 - 
databasepublic final Database database() 
 - 
settingspublic final StoreSettings settings() 
 - 
willOpenprotected void willOpen() Lifecycle callback invoked upon entering the opening state.
 - 
onOpenprotected void onOpen() Lifecycle callback invoked to actually open the zone.
 - 
didOpenprotected void didOpen() Lifecycle callback invoked upon entering the opened state.
 - 
willCloseprotected void willClose() Lifecycle callback invoked upon entering the closing state.
 - 
onCloseprotected void onClose() Lifecycle callback invoked to actually close the zone.
 - 
didCloseprotected void didClose() Lifecycle callback invoked upon entering the closed state.
 - 
loadGermprotected Germ loadGerm() 
 - 
openDatabasepublic Database openDatabase() - Specified by:
- openDatabasein class- Zone
 
 - 
openReadChannelpublic FileChannel openReadChannel() throws IOException - Throws:
- IOException
 
 - 
openWriteChannelpublic FileChannel openWriteChannel() throws IOException - Throws:
- IOException
 
 - 
commitAndWriteChunkpublic Chunk commitAndWriteChunk(Commit commit) - Specified by:
- commitAndWriteChunkin class- Zone
 
 
- 
 
-