Class EvaluationTimingStore


  • public class EvaluationTimingStore
    extends AbstractPolicyTimingStore
    Store for containing the information useful to monitoring timings of policy evaluations.
    • Method Detail

      • addTiming

        public void addTiming​(long duration,
                              String realm,
                              String applicationName,
                              String resourceName,
                              Subject subject)
        Records a specific policy evaluation run time instance. If the duration to execute the policy evaluation took longer than the current slowest recorded duration, we store the information of this evaluation as a PolicyTimingEntry.
        Parameters:
        duration - Length of time (in ms) this evaluation took
        realm - The realm in which the evaluation took place
        applicationName - The application in which the evaluation took place
        resourceName - The resource name against which the evaluation took place
        subject - The subject against which the evaluation took place