public interface Metrics
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Metrics.OutstandingRequestsGauge |
| Modifier and Type | Method and Description |
|---|---|
void |
measureDeleteFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future) |
void |
measureGetFuture(com.google.common.util.concurrent.ListenableFuture<GetResult<byte[]>> future) |
void |
measureIncrDecrFuture(com.google.common.util.concurrent.ListenableFuture<Long> future) |
void |
measureMultigetFuture(com.google.common.util.concurrent.ListenableFuture<List<GetResult<byte[]>>> future) |
void |
measureSetFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future) |
void |
measureTouchFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future) |
void |
registerOutstandingRequestsGauge(Metrics.OutstandingRequestsGauge gauge)
Called by the MemcacheClient initialization process to allow a gauge to be registered with the
metrics implementation to monitor the number of outstanding requests at any moment in time.
|
void measureGetFuture(com.google.common.util.concurrent.ListenableFuture<GetResult<byte[]>> future)
void measureMultigetFuture(com.google.common.util.concurrent.ListenableFuture<List<GetResult<byte[]>>> future)
void measureDeleteFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future)
void measureSetFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future)
void measureIncrDecrFuture(com.google.common.util.concurrent.ListenableFuture<Long> future)
void measureTouchFuture(com.google.common.util.concurrent.ListenableFuture<MemcacheStatus> future)
void registerOutstandingRequestsGauge(Metrics.OutstandingRequestsGauge gauge)
Copyright © 2017 Spotify AB. All rights reserved.