All Classes
-
All Classes Interface Summary Class Summary Enum 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 RulesChronoAgendaEventListener Collect live performance statistic for rules (then block) as aggregatedSerializableresult.RulesChronoChartRecorder Collect live performance statistic for rules (then block) as aggregated result and jfree chartTimeSeries.
Suitable for prod environment and statistic delivery at the end of the flow or exposing via rest API etc.
Note: This class creates thread pool executor with single background thread (for all instances) with core pool size 0 (thread will stop if no statistic is gathered).
Executor holds week reference to the recorder and scheduled periodic statistic gathering will be automatically cancelled when recorder is not in use any more.RulesChronoChartRecorder.DataType 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>> Stat StatImpl