org.apache.blur.manager.writer
Class BlurIndex

java.lang.Object
  extended by org.apache.blur.manager.writer.BlurIndex
Direct Known Subclasses:
BlurIndexReadOnly, BlurIndexSimpleWriter

public abstract class BlurIndex
extends Object


Constructor Summary
BlurIndex(ShardContext shardContext, org.apache.lucene.store.Directory directory, SharedMergeScheduler mergeScheduler, ExecutorService searchExecutor, BlurIndexCloser indexCloser, BlurIndexWarmup indexWarmup)
           
 
Method Summary
abstract  void close()
           
abstract  void createSnapshot(String name)
           
abstract  void enqueue(List<RowMutation> mutations)
           
 long getIndexMemoryUsage()
           
abstract  IndexSearcherClosable getIndexSearcher()
           
 long getRecordCount()
           
 long getRowCount()
           
 long getSegmentCount()
           
 ShardContext getShardContext()
           
abstract  List<String> getSnapshots()
           
abstract  AtomicBoolean isClosed()
           
abstract  void optimize(int numberOfSegmentsPerShard)
           
abstract  void process(IndexAction indexAction)
           
abstract  void refresh()
           
abstract  void removeSnapshot(String name)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlurIndex

public BlurIndex(ShardContext shardContext,
                 org.apache.lucene.store.Directory directory,
                 SharedMergeScheduler mergeScheduler,
                 ExecutorService searchExecutor,
                 BlurIndexCloser indexCloser,
                 BlurIndexWarmup indexWarmup)
          throws IOException
Throws:
IOException
Method Detail

getIndexSearcher

public abstract IndexSearcherClosable getIndexSearcher()
                                                throws IOException
Throws:
IOException

close

public abstract void close()
                    throws IOException
Throws:
IOException

refresh

public abstract void refresh()
                      throws IOException
Throws:
IOException

isClosed

public abstract AtomicBoolean isClosed()

optimize

public abstract void optimize(int numberOfSegmentsPerShard)
                       throws IOException
Throws:
IOException

createSnapshot

public abstract void createSnapshot(String name)
                             throws IOException
Throws:
IOException

removeSnapshot

public abstract void removeSnapshot(String name)
                             throws IOException
Throws:
IOException

getSnapshots

public abstract List<String> getSnapshots()
                                   throws IOException
Throws:
IOException

getRecordCount

public long getRecordCount()
                    throws IOException
Throws:
IOException

getRowCount

public long getRowCount()
                 throws IOException
Throws:
IOException

getIndexMemoryUsage

public long getIndexMemoryUsage()
                         throws IOException
Throws:
IOException

getSegmentCount

public long getSegmentCount()
                     throws IOException
Throws:
IOException

getShardContext

public ShardContext getShardContext()

process

public abstract void process(IndexAction indexAction)
                      throws IOException
Throws:
IOException

enqueue

public abstract void enqueue(List<RowMutation> mutations)
                      throws IOException
Throws:
IOException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.