public final class SortTODSharedDeque extends SortSharedDeque
head, tailBUFFER_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 |
|---|
SortTODSharedDeque(String name,
RawPageSpace rps,
int arity) |
| Modifier and Type | Method and Description |
|---|---|
protected Word |
getKey(Address obj)
Return the sorting key for the object passed as a parameter.
|
sortalloc, assertExhausted, clearDeque, dequeue, dequeue, dequeueAndWait, dequeueAndWait, enqueue, enqueuedPages, free, getArity, getNext, getPrev, prepare, prepareNonBlocking, resetbufferEnd, bufferFirst, bufferLast, bufferLast, bufferLastOffset, bufferOffset, bufferStartpublic SortTODSharedDeque(String name, RawPageSpace rps, int arity)
name - human-readable name of the queuerps - The space from which the instance should obtain buffers.arity - The arity of the data to be enqueuedprotected Word getKey(Address obj)
SortSharedDequegetKey in class SortSharedDequeobj - The address of the object whose key is wanted