com.bigdata.btree.isolation
Class NoConflictResolver

java.lang.Object
  extended by com.bigdata.btree.isolation.NoConflictResolver
All Implemented Interfaces:
IConflictResolver, Serializable

public final class NoConflictResolver
extends Object
implements IConflictResolver

Does not resolve any conflicts.

Version:
$Id: NoConflictResolver.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Constructor Summary
NoConflictResolver()
           
 
Method Summary
 boolean resolveConflict(IIndex writeSet, ITuple txTuple, ITuple currentTuple)
           Resolve a write-write conflict between a committed version on the journal and the current version within a transaction that is validating.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoConflictResolver

public NoConflictResolver()
Method Detail

resolveConflict

public boolean resolveConflict(IIndex writeSet,
                               ITuple txTuple,
                               ITuple currentTuple)
                        throws Exception
Description copied from interface: IConflictResolver

Resolve a write-write conflict between a committed version on the journal and the current version within a transaction that is validating.

Specified by:
resolveConflict in interface IConflictResolver
Parameters:
writeSet - The view on which conflict resolver must write the resolved index entry.
txTuple - The tuple written by the transaction that is being validated.
currentTuple - The current tuple committed in the global state with which the write-write conflict exists.
Returns:
true iff the conflict was resolved.
Throws:
Exception


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.