|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.2) E26043-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.io.journal.FlashJournalRM.WriterDaemon.PendingWriteTask
protected class FlashJournalRM.WriterDaemon.PendingWriteTask
A task that gets queued to perform an asynchronous appending write on the WriterDaemon thread.
| Constructor Summary | |
|---|---|
FlashJournalRM.WriterDaemon.PendingWriteTask(FlashJournalRM.JournalFile jrnlfile, FlashJournalRM.Buffer buf, int cbBuffer)Construct a PendingWriteInfo "struct". |
|
| Method Summary | |
|---|---|
protected void |
processWriteException(java.io.IOException e, java.util.ArrayList listBuffer, java.nio.ByteBuffer[] aniobuf)Process IOException while flushing the buffers to disk |
void |
run()Execute the task, writing the buffer to the end of the file. |
| Constructor Detail |
|---|
public FlashJournalRM.WriterDaemon.PendingWriteTask(FlashJournalRM.JournalFile jrnlfile,
FlashJournalRM.Buffer buf,
int cbBuffer)
jrnlfile - the file to append tobuf - the buffer to appendcbBuffer - the number of bytes to append from the buffer| Method Detail |
|---|
public void run()
run in interface java.lang.Runnable
protected void processWriteException(java.io.IOException e,
java.util.ArrayList listBuffer,
java.nio.ByteBuffer[] aniobuf)
e - the IOExceptionlistBuffer - the list of buffers to be flushed to diskaniobuf - the array of byte buffers to be flushed to disk
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.2) E26043-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||