com.sleepycat.je.txn
Class TxnChain.CompareSlot

java.lang.Object
  extended by com.sleepycat.je.txn.TxnChain.CompareSlot
All Implemented Interfaces:
Comparable<TxnChain.CompareSlot>
Enclosing class:
TxnChain

public static class TxnChain.CompareSlot
extends Object
implements Comparable<TxnChain.CompareSlot>

Compare two keys using the appropriate comparator. Keys from different databases should never be equal.


Constructor Summary
TxnChain.CompareSlot(DatabaseImpl dbImpl, LNLogEntry undoEntry)
           
 
Method Summary
 int compareTo(TxnChain.CompareSlot other)
           
 boolean equals(Object other)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TxnChain.CompareSlot

public TxnChain.CompareSlot(DatabaseImpl dbImpl,
                            LNLogEntry undoEntry)
Method Detail

compareTo

public int compareTo(TxnChain.CompareSlot other)
Specified by:
compareTo in interface Comparable<TxnChain.CompareSlot>

equals

public boolean equals(Object other)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright (c) 2004-2012 Oracle. All rights reserved.