Package com.bytedesk.core.uid.buffer
Interface RejectedPutBufferHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
If tail catches the cursor it means that the ring buffer is full, any more buffer put request will be rejected.
Specify the policy to handle the reject. This is a Lambda supported interface
- Author:
- yutianbao
-
Method Summary
Modifier and TypeMethodDescriptionvoid
rejectPutBuffer
(RingBuffer ringBuffer, long uid) Reject put buffer request
-
Method Details
-
rejectPutBuffer
Reject put buffer request- Parameters:
ringBuffer
-uid
-
-