com.hp.hpl.jena.sparql.core
Class TransactionalNull

java.lang.Object
  extended by com.hp.hpl.jena.sparql.core.TransactionalNull
All Implemented Interfaces:
Transactional

public class TransactionalNull
extends Object
implements Transactional


Constructor Summary
TransactionalNull()
           
 
Method Summary
 void abort()
          Abort a transaction - finish the transaction and undo any changes (if a "write" transaction)
 void begin(ReadWrite readWrite)
          Start either a READ or WRITE transaction
 void commit()
          Commit a transaction - finish the transaction and make any changes permanent (if a "write" transaction)
 void end()
          Finish the transaction - if a write transaction and commit() has not been called, then abort
 boolean isInTransaction()
          Say whether a transaction is active
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionalNull

public TransactionalNull()
Method Detail

begin

public void begin(ReadWrite readWrite)
Description copied from interface: Transactional
Start either a READ or WRITE transaction

Specified by:
begin in interface Transactional

commit

public void commit()
Description copied from interface: Transactional
Commit a transaction - finish the transaction and make any changes permanent (if a "write" transaction)

Specified by:
commit in interface Transactional

abort

public void abort()
Description copied from interface: Transactional
Abort a transaction - finish the transaction and undo any changes (if a "write" transaction)

Specified by:
abort in interface Transactional

isInTransaction

public boolean isInTransaction()
Description copied from interface: Transactional
Say whether a transaction is active

Specified by:
isInTransaction in interface Transactional

end

public void end()
Description copied from interface: Transactional
Finish the transaction - if a write transaction and commit() has not been called, then abort

Specified by:
end in interface Transactional


Licenced under the Apache License, Version 2.0