| OverflowPolicy Enumeration |
Using this policy one can control the behavior what should to be done when an item is about to be added to the ringbuffer,
but there is 0 remaining capacity.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.3
Syntax public enum OverflowPolicy
Public Enumeration OverflowPolicy
public enum class OverflowPolicy
Members
| Member name | Value | Description |
---|
| Overwrite | 0 | Using this policy the oldest item is overwritten no matter it is not old enough to retire. |
| Fail | 1 |
Using this policy the call will fail immediately and the oldest item will not be overwritten before it is old enough
to retire.
|
Remarks
Using this policy one can control the behavior what should to be done when an item is about to be added to the ringbuffer,
but there is 0 remaining capacity.
Overflowing happens when a time-to-live is set and the oldest item in the ringbuffer (the head) is not old enough to expire.
See Also