org.apache.blur.manager.writer
Class BlurIndexReadOnly

java.lang.Object
  extended by org.apache.blur.manager.writer.BlurIndex
      extended by org.apache.blur.manager.writer.BlurIndexReadOnly

public class BlurIndexReadOnly
extends BlurIndex


Constructor Summary
BlurIndexReadOnly(BlurIndex blurIndex)
           
 
Method Summary
 void close()
           
 void createSnapshot(String name)
           
 void enqueue(List<RowMutation> mutations)
           
 IndexSearcherClosable getIndexSearcher()
           
 List<String> getSnapshots()
           
 java.util.concurrent.atomic.AtomicBoolean isClosed()
           
 void optimize(int numberOfSegmentsPerShard)
           
 void process(IndexAction indexAction)
           
 void refresh()
           
 void removeSnapshot(String name)
           
 
Methods inherited from class org.apache.blur.manager.writer.BlurIndex
getIndexMemoryUsage, getRecordCount, getRowCount, getSegmentCount, getShardContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlurIndexReadOnly

public BlurIndexReadOnly(BlurIndex blurIndex)
                  throws IOException
Throws:
IOException
Method Detail

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.