public class IndexCache extends AbstractIndexCache<IScaleOutClientIndex>
|Constructor and Description|
|Modifier and Type||Method and Description|
Method is invoked on a cache miss and returns a view of the described index.
public IndexCache(AbstractScaleOutFederation<?> fed, int capacity, long timeout)
protected ClientIndexView newView(String name, long timestamp)
nullif the described index does not exist.
protected void dropIndexFromCache(String name)
ITx.READ_COMMITTEDentries for the named index from the cache.
Historical and transactional reads are still allowed, but we remove the read-committed or unisolated views from the cache once the index has been dropped. If a client wants them, it needs to re-request. If they have been re-registered on the metadata service then they will become available again.
Note: Operations against unisolated or read-committed indices will throw exceptions if they execute after the index was dropped.
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.