Phil5780
asked on
Java file write in a transaction
Hello team,
I have a Java application which which needs to write a file to a filesystem destination completely before being read by anything. Wouldn't this be easily achieved by running the file writing logic inside a transaction?
This should not allow any user or application to see the file until writing is 100% complete. Am I correct in this idea?
I have a Java application which which needs to write a file to a filesystem destination completely before being read by anything. Wouldn't this be easily achieved by running the file writing logic inside a transaction?
This should not allow any user or application to see the file until writing is 100% complete. Am I correct in this idea?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Don't describe the code you think you need or the steps. Describe the GOAL