public class CollectionOptions extends Object
| Constructor and Description |
|---|
CollectionOptions(Integer size,
Integer maxDocuments,
Boolean capped)
Constructs a new
CollectionOptions instance. |
public CollectionOptions(Integer size, Integer maxDocuments, Boolean capped)
CollectionOptions instance.size - the collection size in bytes, this data space is preallocatedmaxDocuments - the maximum number of documents in the collection.capped - true to created a "capped" collection (fixed size with auto-FIFO behavior based on insertion order),
false otherwise.Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.