public interface TransactionMonitor
| Modifier and Type | Method and Description |
|---|---|
boolean |
addConnection(Connection conn)
Adds the connection.
|
boolean |
addFile(String name)
Adds the file.
|
void |
commit()
Commits transaction.
|
boolean |
isTrackFiles()
Checks if is track files flag is set.
|
void |
rollback(Exception ex)
Rollbacks transaction.
|
void |
setConnectionFactory(EtlConnectionFactory connectionFactory)
Sets the connection factory.
|
void |
setTrackFiles(boolean trackFiles)
Sets the track files flag.
|
boolean addConnection(Connection conn)
conn - the connectionboolean addFile(String name)
name - the file namevoid commit()
throws Exception
Exception - in case of any errorvoid rollback(Exception ex)
throws Exception
ex - the exceptionException - in case of any errorvoid setConnectionFactory(EtlConnectionFactory connectionFactory)
connectionFactory - the new connection factoryboolean isTrackFiles()
void setTrackFiles(boolean trackFiles)
trackFiles - the new value of the track files flagCopyright © 2010-2020 Toolsverse. All Rights Reserved.