public interface IFilelistenerWriteTrx extends IFilelistenerReadTrx
Modifier and Type | Method and Description |
---|---|
void |
abort()
Abort all modifications of the exclusive write transaction.
|
void |
addEmptyFile(String pRelativePath)
Add an empty file in case of ENTRY_CREATE event.
|
void |
addFile(File pFile,
String pRelativePath)
Add a new file to the system
|
void |
commit()
Non-blocking commit in TT
|
void |
commitBlocked()
Blocking commit in TT
|
int |
getCount() |
void |
removeFile(String pRelativePath)
Remove file from desired path
|
close, fileExists, getFilePaths, getFullFile, isClosed
void addFile(File pFile, String pRelativePath) throws TTException, IOException
file
- relativePath
- TTException
IOException
void removeFile(String pRelativePath) throws TTException
TTException
- if node couldn't be removedint getCount()
getCount
in interface IFilelistenerReadTrx
void commit() throws TTException
TTException
- if this revision couldn't be commitedvoid commitBlocked() throws TTException
TTException
- if this revision couldn't be commitedvoid abort() throws TTException
TTIOException
- if this revision couldn't be abortedTTException
void addEmptyFile(String pRelativePath) throws TTException, IOException
pRelativePath
- TTException
IOException
Copyright © 2013. All Rights Reserved.