public SetMaxBufferedDocs ( int maxBufferedDocs ) : void | ||
maxBufferedDocs | int | |
return | void |
When this is set, the writer will flush every maxBufferedDocs added documents. Pass in DISABLE_AUTO_FLUSH to prevent triggering a flush due to number of buffered documents. Note that if flushing by RAM usage is also enabled, then the flush will be triggered by whichever comes first.
Disabled by default (writer flushes by RAM usage).
enabled but smaller than 2, or it disables maxBufferedDocs when ramBufferSize is already disabled
public SetMaxBufferedDocs ( int maxBufferedDocs ) : void | ||
maxBufferedDocs | int | |
return | void |