Interface AuthorizationMonitor
-
- All Superinterfaces:
Monitor<AuthorizationMonitor>
- All Known Implementing Classes:
AuthorizationMonitorImpl
@ProviderType public interface AuthorizationMonitor extends Monitor<AuthorizationMonitor>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accessViolation()
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
permissionError()
Called to mark unexpected errors related to the permission store.void
permissionRefresh()
Called when thePermissionProvider
is being refreshed and permission caches are cleared.-
Methods inherited from interface org.apache.jackrabbit.oak.stats.Monitor
getMonitorClass, getMonitorProperties
-
-
-
-
Method Detail
-
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 thePermissionProvider
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.
-
-