Construct the builder
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public LruSegmentEvictionStrategyBuilder( int sizeLimit, int evictionBatchSize, bool doPeriodicClear )
Public Sub New ( _ sizeLimit As Integer, _ evictionBatchSize As Integer, _ doPeriodicClear As Boolean _ )
public: LruSegmentEvictionStrategyBuilder( int sizeLimit, int evictionBatchSize, bool doPeriodicClear )
public LruSegmentEvictionStrategyBuilder( int sizeLimit, int evictionBatchSize, boolean doPeriodicClear )
Parameters
- sizeLimit (Int32)
- Local Cache sizelimit (Of all the segments)
- evictionBatchSize (Int32)
- How many entries to evict from cache when an eviction is required
- doPeriodicClear (Boolean)
- Should clear local cahe periodicly