
org.infinispan.client.hotrod.telemetry.impl.TelemetryServiceImpl Maven / Gradle / Ivy
The newest version!
package org.infinispan.client.hotrod.telemetry.impl;
import java.util.function.Function;
import org.infinispan.client.hotrod.impl.InternalRemoteCache;
import org.infinispan.client.hotrod.impl.operations.CacheOperationsFactory;
public class TelemetryServiceImpl implements TelemetryService {
public static final TelemetryServiceImpl INSTANCE = new TelemetryServiceImpl();
private TelemetryServiceImpl() {
}
@Override
public Function, CacheOperationsFactory> wrapWithTelemetry(
Function, CacheOperationsFactory> function) {
return rc -> new TelemetryCacheOperationsFactory(function.apply(rc));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy