org.apache.blur.manager.writer
Class BlurIndexReadOnly
java.lang.Object
org.apache.blur.manager.writer.BlurIndex
org.apache.blur.manager.writer.BlurIndexReadOnly
public class BlurIndexReadOnly
- extends BlurIndex
BlurIndexReadOnly
public BlurIndexReadOnly(BlurIndex blurIndex)
throws IOException
- Throws:
IOException
getIndexSearcher
public IndexSearcherClosable getIndexSearcher()
throws IOException
- Specified by:
getIndexSearcher
in class BlurIndex
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in class BlurIndex
- Throws:
IOException
refresh
public void refresh()
throws IOException
- Specified by:
refresh
in class BlurIndex
- Throws:
IOException
isClosed
public java.util.concurrent.atomic.AtomicBoolean isClosed()
- Specified by:
isClosed
in class BlurIndex
optimize
public void optimize(int numberOfSegmentsPerShard)
throws IOException
- Specified by:
optimize
in class BlurIndex
- Throws:
IOException
createSnapshot
public void createSnapshot(String name)
throws IOException
- Specified by:
createSnapshot
in class BlurIndex
- Throws:
IOException
removeSnapshot
public void removeSnapshot(String name)
throws IOException
- Specified by:
removeSnapshot
in class BlurIndex
- Throws:
IOException
getSnapshots
public List<String> getSnapshots()
throws IOException
- Specified by:
getSnapshots
in class BlurIndex
- Throws:
IOException
process
public void process(IndexAction indexAction)
throws IOException
- Specified by:
process
in class BlurIndex
- Throws:
IOException
enqueue
public void enqueue(List<RowMutation> mutations)
- Specified by:
enqueue
in class BlurIndex
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.