public class BsonWriterSettings
extends java.lang.Object
| 构造器和说明 |
|---|
BsonWriterSettings()
Creates a new instance of the settings with the default maximum serialization depth of 1024.
|
BsonWriterSettings(int maxSerializationDepth)
Creates a new instance of the settings with the given maximum serialization depth.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getMaxSerializationDepth()
Gets the maximum nuber of levels of depth defined by this settings object.
|
public BsonWriterSettings(int maxSerializationDepth)
maxSerializationDepth - the maximum number of nested levels to serialisepublic BsonWriterSettings()