StrategyOnFull is used in the MessageStreamDefinition when creating a stream.
It defines the behavior when the stream has reached the maximum size.
RejectNewData: any append message request after the stream is full will be rejected with an exception.
OverwriteOldestData: the oldest stream segments will be deleted until there is room for the new message.
Constructor
new StrategyOnFull()
- Source:
Members
Type:
- Source:
Type:
- Source: