Class MetricsRemoteStoreMonitor
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.spi.monitor.RemoteStoreMonitorAdapter
-
- org.apache.jackrabbit.oak.segment.file.MetricsRemoteStoreMonitor
-
- All Implemented Interfaces:
RemoteStoreMonitor
public class MetricsRemoteStoreMonitor extends RemoteStoreMonitorAdapter
-
-
Field Summary
Fields Modifier and Type Field Description static String
REQUEST_COUNT
static String
REQUEST_DURATION
static String
REQUEST_ERROR
-
Constructor Summary
Constructors Constructor Description MetricsRemoteStoreMonitor(@NotNull StatisticsProvider statisticsProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
requestCount()
void
requestDuration(long duration, TimeUnit timeUnit)
void
requestError()
-
-
-
Field Detail
-
REQUEST_COUNT
public static final String REQUEST_COUNT
- See Also:
- Constant Field Values
-
REQUEST_ERROR
public static final String REQUEST_ERROR
- See Also:
- Constant Field Values
-
REQUEST_DURATION
public static final String REQUEST_DURATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MetricsRemoteStoreMonitor
public MetricsRemoteStoreMonitor(@NotNull @NotNull StatisticsProvider statisticsProvider)
-
-
Method Detail
-
requestCount
public void requestCount()
- Specified by:
requestCount
in interfaceRemoteStoreMonitor
- Overrides:
requestCount
in classRemoteStoreMonitorAdapter
-
requestError
public void requestError()
- Specified by:
requestError
in interfaceRemoteStoreMonitor
- Overrides:
requestError
in classRemoteStoreMonitorAdapter
-
requestDuration
public void requestDuration(long duration, TimeUnit timeUnit)
- Specified by:
requestDuration
in interfaceRemoteStoreMonitor
- Overrides:
requestDuration
in classRemoteStoreMonitorAdapter
-
-