org.modeshape.graph.connector.path
Interface PathRepositoryTransaction


public interface PathRepositoryTransaction

A transaction for a PathRepository.

See Also:
MapRepositoryTransaction

Method Summary
 void commit()
          Commit any changes that have been made to the repository.
 void rollback()
          Rollback any changes that have been made to this repository.
 

Method Detail

commit

void commit()
Commit any changes that have been made to the repository. This method may throw runtime exceptions if there are failures committing the changes, but the transaction is still expected to be closed.

See Also:
rollback()

rollback

void rollback()
Rollback any changes that have been made to this repository. This method may throw runtime exceptions if there are failures rolling back the changes, but the transaction is still expected to be closed.

See Also:
commit()


Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.