public interface LogRecordSetBuffer
LogRecordSet.
It is a buffer of log record set, used for transmission.| Modifier and Type | Method and Description |
|---|---|
void |
abortTransmit(Throwable reason)
Abort transmit.
|
void |
completeTransmit(long lssn,
long entryId,
long startSlotId)
Complete transmit.
|
ByteBuffer |
getBuffer()
Get the buffer to transmit.
|
int |
getNumBytes()
Return number of bytes in current record set.
|
int |
getNumRecords()
Return number of records in current record set.
|
int getNumRecords()
int getNumBytes()
ByteBuffer getBuffer()
void completeTransmit(long lssn,
long entryId,
long startSlotId)
lssn - log segment sequence numberentryId - entry idstartSlotId - start slot idvoid abortTransmit(Throwable reason)
reason - reason to abort.Copyright © 2016. All Rights Reserved.