org.apache.blur.manager.writer
Class MutationQueueProcessor

java.lang.Object
  extended by org.apache.blur.manager.writer.MutationQueueProcessor
All Implemented Interfaces:
Closeable, Runnable

public class MutationQueueProcessor
extends Object
implements Runnable, Closeable


Constructor Summary
MutationQueueProcessor(java.util.concurrent.BlockingQueue<RowMutation> queue, BlurIndex blurIndex, ShardContext context, java.util.concurrent.atomic.AtomicInteger writesWaiting)
           
 
Method Summary
 void close()
           
 void run()
           
 void startIfNotRunning()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MutationQueueProcessor

public MutationQueueProcessor(java.util.concurrent.BlockingQueue<RowMutation> queue,
                              BlurIndex blurIndex,
                              ShardContext context,
                              java.util.concurrent.atomic.AtomicInteger writesWaiting)
Method Detail

startIfNotRunning

public void startIfNotRunning()

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException

run

public void run()
Specified by:
run in interface Runnable


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