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