ozone core API

test.tx
Class LockTest.TransactionThread

java.lang.Object
  extended byjava.lang.Thread
      extended bytest.tx.LockTest.TransactionThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
LockTest

class LockTest.TransactionThread
extends java.lang.Thread


Field Summary
(package private)  org.ozoneDB.LocalDatabase db
           
(package private)  User owner
           
(package private)  Transaction ta
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
(package private) LockTest.TransactionThread(org.ozoneDB.LocalDatabase _db, User _owner)
           
 
Method Summary
(package private)  int aquire(Lock lock, int lockLevel)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

db

org.ozoneDB.LocalDatabase db

ta

Transaction ta

owner

User owner
Constructor Detail

LockTest.TransactionThread

LockTest.TransactionThread(org.ozoneDB.LocalDatabase _db,
                           User _owner)
Method Detail

run

public void run()

aquire

int aquire(Lock lock,
           int lockLevel)

ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.