com.healthmarketscience.jackcess.impl
Class IndexData.PendingChange

java.lang.Object
  extended by com.healthmarketscience.jackcess.impl.IndexData.PendingChange
Enclosing class:
IndexData

public abstract static class IndexData.PendingChange
extends Object

Utility class which maintains information about a pending index update. An instance of this class can be used to complete the change (by calling commit()) or undo the change (by calling rollback()).


Method Summary
abstract  void commit()
          Completes the pending change.
 IndexData.PendingChange getNext()
          Returns the next pending change, if any
abstract  void rollback()
          Undoes the pending change.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNext

public IndexData.PendingChange getNext()
Returns the next pending change, if any


commit

public abstract void commit()
                     throws IOException
Completes the pending change.

Throws:
IOException

rollback

public abstract void rollback()
                       throws IOException
Undoes the pending change.

Throws:
IOException


Copyright © 2005–2017 Health Market Science. All rights reserved.