|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Journal.WriteType | |
|---|---|
| journal.io.api | |
| Uses of Journal.WriteType in journal.io.api |
|---|
| Methods in journal.io.api that return Journal.WriteType | |
|---|---|
static Journal.WriteType |
Journal.WriteType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Journal.WriteType[] |
Journal.WriteType.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods in journal.io.api with parameters of type Journal.WriteType | |
|---|---|
Location |
Journal.write(byte[] data,
Journal.WriteType write)
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. |
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 | |||||||||