org.apache.accumulo.examples.simple.isolation
Class InterferenceTest
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterferenceTest
public InterferenceTest()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.