org.apache.labs.bananadb.entity.isolation
Class IsolationDeadlocking

java.lang.Object
  extended by org.apache.labs.bananadb.entity.isolation.AbstractIsolation
      extended by org.apache.labs.bananadb.entity.isolation.IsolationDeadlocking
All Implemented Interfaces:
Isolation

public class IsolationDeadlocking
extends AbstractIsolation

Throws an exception if anyone manage to update an instance in the store while also beeing updated in the owner transaction of this isolation.

Since:
2009-mar-14 15:40:40
Author:
kalle

Constructor Summary
IsolationDeadlocking()
           
 
Method Summary
 void checkVersion(Transaction txn)
           
 
Methods inherited from class org.apache.labs.bananadb.entity.isolation.AbstractIsolation
getSizeModifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsolationDeadlocking

public IsolationDeadlocking()
Method Detail

checkVersion

public void checkVersion(Transaction txn)
                  throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2009 Apache Software Foundation. All Rights Reserved.