Construct the builder
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public FifoSegmentEvictionStrategyBuilder( int sizeLimit, int evictionBatchSize, TimeSpan periodicClearTime )
Public Sub New ( _ sizeLimit As Integer, _ evictionBatchSize As Integer, _ periodicClearTime As TimeSpan _ )
public: FifoSegmentEvictionStrategyBuilder( int sizeLimit, int evictionBatchSize, TimeSpan periodicClearTime )
public FifoSegmentEvictionStrategyBuilder( int sizeLimit, int evictionBatchSize, TimeSpan periodicClearTime )
Parameters
- sizeLimit (Int32)
- Local Cache sizelimit (Of all the segments)
- evictionBatchSize (Int32)
- How many entries to evict from cache when an eviction is required
- periodicClearTime (TimeSpan)
- Timespan between preiodic cache clears, each time this time span passes the local cache will be cleared