Method SetMaxSize
SetMaxSize(long)
Sets the max size of a capped collection.
public CollectionOptionsBuilder SetMaxSize(long value)
Parameters
valuelongThe max size.
Returns
- CollectionOptionsBuilder
The builder (so method calls can be chained).
Sets the max size of a capped collection.
public CollectionOptionsBuilder SetMaxSize(long value)
value longThe max size.
The builder (so method calls can be chained).