org.apache.accumulo.examples.simple.isolation
Class InterferenceTest

java.lang.Object
  extended by org.apache.accumulo.examples.simple.isolation.InterferenceTest

public class InterferenceTest
extends Object

This example shows how a concurrent reader and writer can interfere with each other. It creates two threads that run forever reading and writing to the same table. When the example is run with isolation enabled, no interference will be observed. When the example is run with out isolation, the reader will see partial mutations of a row.


Constructor Summary
InterferenceTest()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterferenceTest

public InterferenceTest()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.