We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e79015 commit 2c854a8Copy full SHA for 2c854a8
javaagent-bootstrap/src/main/java/io/opentelemetry/javaagent/bootstrap/OpenTelemetrySdkAccess.java
@@ -27,7 +27,13 @@ public interface ForceFlusher {
27
28
private static volatile ForceFlusher forceFlush;
29
30
- /** Forces flushing of pending spans. */
+ /** Forces flushing of pending telemetry. */
31
+ @Deprecated
32
+ public static void forceFlush(int timeout, TimeUnit unit) {
33
+ forceFlush((long) timeout, unit);
34
+ }
35
+
36
37
public static void forceFlush(long timeout, TimeUnit unit) {
38
forceFlush.run(timeout, unit);
39
}
0 commit comments