|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use WriteCallback | |
|---|---|
| journal.io.api | |
| Uses of WriteCallback in journal.io.api |
|---|
| Methods in journal.io.api with parameters of type WriteCallback | |
|---|---|
Location |
Journal.write(byte[] data,
Journal.WriteType write,
WriteCallback callback)
Write the given byte buffer record, either sync (if WriteType.SYNC) or async (if WriteType.ASYNC), and
returns the stored Location.A sync write causes all previously batched async writes to be synced too. The provided callback will be invoked if sync is completed or if some error occurs during syncing. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||