Package org.droolsassert.util
-
Interface Summary Interface Description Stat -
Class Summary Class Description AlphanumComparator ChartUtils JmxUtils JsonUtils MvelProcessor PatternProcessor PerfStat Performance statistic per type (optional) and name.ReentrantFileLock CombinesReentrantLockwithFileLock
Suitable to synchronize threads from different VMs via file system.
As per documentation, file locks are held on behalf of the entire Java virtual machine.
Thus in most cases yourReentrantFileLockshould be static to have single JVM instance of the lock object correspond to file lock for the entire JVM.
But it should not be an error to have several exclusive locks on JVM level correspond to single file lock id when you have valid technical usecase to do so.ReentrantFileLock.ReentrantFileLockFactory SharedRollingFileAppender This is copy of RollingFileAppender v.2.15.0 with additional file based locking functionality to make it possible to populate to the same log file from different JVMs.SharedRollingFileAppender.Builder<B extends SharedRollingFileAppender.Builder<B>> StatImpl