- java.lang.Object
-
- swim.db.Zone
-
- swim.db.FileZone
-
public class FileZone extends Zone
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ChunkcommitAndWriteChunk(Commit commit)Databasedatabase()Filefile()Germgerm()intid()FileZoneopen()voidopenAsync(Cont<Zone> cont)voidopenDatabaseAsync(Cont<Database> cont)FileChannelopenReadChannel()FileChannelopenWriteChannel()StoreSettingssettings()longsize()Stagestage()Storestore()-
Methods inherited from class swim.db.Zone
openDatabase
-
-
-
-
Method Detail
-
store
public final Store store()
-
file
public final File file()
-
stage
public final Stage stage()
-
database
public final Database database()
-
settings
public final StoreSettings settings()
-
open
public FileZone open() throws InterruptedException
- Specified by:
openin classZone- Throws:
InterruptedException
-
openDatabaseAsync
public void openDatabaseAsync(Cont<Database> cont)
- Specified by:
openDatabaseAsyncin classZone
-
openReadChannel
public FileChannel openReadChannel() throws IOException
- Throws:
IOException
-
openWriteChannel
public FileChannel openWriteChannel() throws IOException
- Throws:
IOException
-
commitAndWriteChunk
public Chunk commitAndWriteChunk(Commit commit)
- Specified by:
commitAndWriteChunkin classZone
-
-