OverflowPolicy Enum
Namespace: Hazelcast.DistributedObjects
Assembly: Hazelcast.Net.dll
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.
public enum OverflowPolicy
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.
Fields
Fail | Using this policy the call will fail immediately and the oldest item will not be overwritten before it is old enough to retire. |
Overwrite | Using this policy the oldest item is overwritten no matter it is not old enough to retire. |