Package org.apache.jackrabbit.oak.stats
Interface Monitor<T>
-
- All Known Subinterfaces:
LoginModuleMonitor
- All Known Implementing Classes:
LoginModuleStats
@ProviderType public interface Monitor<T>
Marker interface for monitors that are to be registered with aWhiteboard
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.lang.Class<T>
getMonitorClass()
@NotNull java.util.Map<java.lang.Object,java.lang.Object>
getMonitorProperties()
-
-
-
Method Detail
-
getMonitorClass
@NotNull @NotNull java.lang.Class<T> getMonitorClass()
- Returns:
- The type to be passed to
Whiteboard.register(Class, Object, Map)
-
getMonitorProperties
@NotNull @NotNull java.util.Map<java.lang.Object,java.lang.Object> getMonitorProperties()
- Returns:
- The properties to be passed to
Whiteboard.register(Class, Object, Map)
-
-