Sets the max size that cache should reach before it is cleaned up

Namespace: Lucene.Net.Search
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual void SetCacheSize(
	int cacheCleanSize
)
Visual Basic
Public Overridable Sub SetCacheSize ( _
	cacheCleanSize As Integer _
)
Visual C++
public:
virtual void SetCacheSize(
	int cacheCleanSize
)

Parameters

cacheCleanSize
Type: System..::..Int32
maximum allowed cache size

See Also