public class WriteBuffer extends LocalSSB
queue, tail, tailBufferEnd
BUFFER_MASK, BUFFER_SIZE, HEAD_INITIAL_VALUE, LOG_PAGES_PER_BUFFER, META_DATA_SIZE, NEXT_FIELD_OFFSET, PAGES_PER_BUFFER, TAIL_INITIAL_VALUE, USABLE_BUFFER_BYTES
Constructor and Description |
---|
WriteBuffer(SharedDeque queue)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
insert(Address addr)
Insert a value to be remembered into the write buffer.
|
bufferSentinel, checkTailInsert, flushLocal, isFlushed, normalizeTail, reset, resetLocal, uncheckedTailInsert
bufferEnd, bufferFirst, bufferLast, bufferLast, bufferLastOffset, bufferOffset, bufferStart
public WriteBuffer(SharedDeque queue)
queue
- The shared queue to which this local ssb will append
its buffers (when full or flushed).