Constructor ControlledRealTimeReopenThread
ControlledRealTimeReopenThread(TrackingIndexWriter, ReferenceManager<T>, Double, Double)
Create ControlledRealTimeReopenThread<T>, to periodically reopen the a ReferenceManager<G>.
Declaration
public ControlledRealTimeReopenThread(TrackingIndexWriter writer, ReferenceManager<T> manager, double targetMaxStaleSec, double targetMinStaleSec)
Parameters
Type | Name | Description |
---|---|---|
TrackingIndexWriter | writer | |
ReferenceManager<T> | manager | |
System.Double | targetMaxStaleSec | Maximum time until a new reader must be opened; this sets the upper bound on how slowly reopens may occur, when no caller is waiting for a specific generation to become visible. |
System.Double | targetMinStaleSec | Mininum time until a new reader can be opened; this sets the lower bound on how quickly reopens may occur, when a caller is waiting for a specific generation to become visible. |