Uses of Class
com.ultikits.ultitools.manager.RemoteFileOperations.WriteOutcome
Packages that use RemoteFileOperations.WriteOutcome
-
Uses of RemoteFileOperations.WriteOutcome in com.ultikits.ultitools.manager
Methods in com.ultikits.ultitools.manager that return RemoteFileOperations.WriteOutcomeModifier and TypeMethodDescriptionRemoteFileOperations.compareAndReplace(File file, byte[] content, String baseVersion, int maxBytes) RemoteFileOperations.writeLocked(File file, byte[] content, String baseVersion, int maxBytes) The critical section offiles.write: compare the version against the bytes on disk and replace the file, both underAtomicConfigWriter.underWriteLock(java.util.function.Supplier<T>), the lock every configuration load, last-moment check and commit of this JVM also holds.