com.ringcentral.platform.metrics.samples.InstanceSample Maven / Gradle / Ivy
package com.ringcentral.platform.metrics.samples;
import java.util.List;
public interface InstanceSample {
void add(S sample);
List samples();
default boolean isEmpty() {
return samples().isEmpty();
}
}