Interface AuthorizationMonitor

All Superinterfaces:
Monitor<AuthorizationMonitor>
All Known Implementing Classes:
AuthorizationMonitorImpl

@ProviderType public interface AuthorizationMonitor extends Monitor<AuthorizationMonitor>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called to mark an access violation in the default permission validator.
    void
    permissionAllLoaded(long timeTakenNanos)
    Called to record the time it takes to eagerly load all permissions for a given principal.
    void
    Called to mark unexpected errors related to the permission store.
    void
    Called when the PermissionProvider is being refreshed and permission caches are cleared.

    Methods inherited from interface org.apache.jackrabbit.oak.stats.Monitor

    getMonitorClass, getMonitorProperties
  • Method Details

    • accessViolation

      void accessViolation()
      Called to mark an access violation in the default permission validator.
    • permissionError

      void permissionError()
      Called to mark unexpected errors related to the permission store. It does does not cover access violations, but actual operational errors that probably need to be investigated. Any triggered event should have a corresponding error logged to make this investigation possible.
    • permissionRefresh

      void permissionRefresh()
      Called when the PermissionProvider is being refreshed and permission caches are cleared.
    • permissionAllLoaded

      void permissionAllLoaded(long timeTakenNanos)
      Called to record the time it takes to eagerly load all permissions for a given principal.
      Parameters:
      timeTakenNanos - Time in nanoseconds.