Click or drag to resize

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.12.2
Syntax
public enum OverflowPolicy
Members
  Member nameValueDescription
Overwrite0Using this policy the oldest item is overwritten no matter it is not old enough to retire.
Fail1 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