Class TelemetryThreadPool
- java.lang.Object
-
- net.snowflake.client.jdbc.telemetryOOB.TelemetryThreadPool
-
public class TelemetryThreadPool extends Object
A singleton class which wrapped the ExecutorService, which is used to submit telemetry data asynchronously to server
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Runnable task)
static TelemetryThreadPool
getInstance()
<T> Future<T>
submit(Callable<T> task)
-
-
-
Method Detail
-
getInstance
public static TelemetryThreadPool getInstance()
-
execute
public void execute(Runnable task)
-
-