- 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 void
close()
Chunk
commitAndWriteChunk(Commit commit)
Database
database()
File
file()
Germ
germ()
int
id()
FileZone
open()
void
openAsync(Cont<Zone> cont)
void
openDatabaseAsync(Cont<Database> cont)
FileChannel
openReadChannel()
FileChannel
openWriteChannel()
StoreSettings
settings()
long
size()
Stage
stage()
Store
store()
-
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:
open
in classZone
- Throws:
InterruptedException
-
openDatabaseAsync
public void openDatabaseAsync(Cont<Database> cont)
- Specified by:
openDatabaseAsync
in 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:
commitAndWriteChunk
in classZone
-
-