Documentation ¶
Index ¶
- type MemQueue
- func (q *MemQueue) Add(data *operation.QueuedOperation, protocolVersion uint64) (uint, error)
- func (q *MemQueue) Len() uint
- func (q *MemQueue) Peek(num uint) (operation.QueuedOperationsAtTime, error)
- func (q *MemQueue) Remove(num uint) (ops operation.QueuedOperationsAtTime, ack func() uint, nack func(error), ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemQueue ¶
type MemQueue struct {
// contains filtered or unexported fields
}
MemQueue implements an in-memory operation queue.
func (*MemQueue) Add ¶
Add adds the given data to the tail of the queue and returns the new length of the queue.
Click to show internal directories.
Click to hide internal directories.