AsynchronousLogShipper
interface LogShipper
Modifier and Type | Method | Description |
---|---|---|
void |
flushBuffer() |
Transmits all the log records in the log buffer to the slave.
|
void |
flushedInstance(long latestInstanceFlushedToDisk) |
updates the information about the latest instance of the log record
that has been flushed to the disk.
|
void |
forceFlush() |
Ships the next log record chunk, if available, from the log buffer to
the slave.
|
void |
workToDo() |
Used to notify the log shipper that a log buffer element is full.
|
void flushedInstance(long latestInstanceFlushedToDisk)
latestInstanceFlushedToDisk
- a long that contains the latest
instance of the log record that has been flushed to the disk.void forceFlush() throws java.io.IOException, StandardException
java.io.IOException
- If an exception occurs while trying to ship the
replication message (containing the log records)
across the network.StandardException
- If an exception occurs while trying to read
log records from the log buffer.void flushBuffer() throws java.io.IOException, StandardException
java.io.IOException
- If an exception occurs while trying to ship the
replication message (containing the log records)
across the network.StandardException
- If an exception occurs while trying to read
log records from the log buffer.void workToDo()
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.