TopicOverloadPolicy Enum
Namespace: Hazelcast.Models
Assembly: Hazelcast.Net.dll
Defines the overload policy for a topic when there is no place to store a message.
public enum TopicOverloadPolicy
Fields
Block | The caller will wait till there space in the ring buffer. |
DiscardNewest | The message that was to be published is discarded. |
DiscardOldest | A message that has not expired can be overwritten.
No matter the retention period set, the overwrite will just overwrite the item.
|
Error | The publish call immediately fails. |