You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@jena.apache.org by GitBox <gi...@apache.org> on 2022/03/14 13:55:19 UTC

[GitHub] [jena] afs commented on pull request #1225: Geosparql transformation options

afs commented on pull request #1225:
URL: https://github.com/apache/jena/pull/1225#issuecomment-1066823187


   `IOX.safeWrite`
   
   By creating the replacement file in the same directory, the "move" to the right place is atomic.
   
   Recovery is "if tempfile, not target file", then move tempfile.
   
   ShutdownHooks aren't perfect - there has to be recovery code as well. JVMs crash-exit or are stopped abruptly. The fact that te recovery code is necessary means that shutdown hooks doesn't have to be added.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@jena.apache.org
For additional commands, e-mail: pr-help@jena.apache.org