Example usage for Java org.apache.commons.transaction.file FileResourceManager fields, constructors, methods, implement or subclass
The text is from its open source code.
FileResourceManager(String storeDir, String workDir, boolean urlEncodePath, LoggerFacade logger) Creates a new resource manager operation on the specified directories. | |
FileResourceManager(String storeDir, String workDir, boolean urlEncodePath, LoggerFacade logger, boolean debug) Creates a new resource manager operation on the specified directories. | |
FileResourceManager(String storeDir, String workDir, ResourceIdToPathMapper idMapper, LoggerFacade logger, boolean debug) Creates a new resource manager operation on the specified directories. |
void | commitTransaction(Object txId) |
String | generatedUniqueTxId() Generates a transaction identifier unique to this resource manager. |
LoggerFacade | getLogger() Gets the logger used by this resource manager. |
String | getStoreDir() Gets the store directory. |
int | prepareTransaction(Object txId) |
void | rollbackTransaction(Object txId) |
void | startTransaction(Object txId) |
boolean | stop(int mode) |
OutputStream | writeResource(Object txId, Object resourceId) |