Class SpannerOptions.FixedCloseableExecutorProvider (2.16.1)

public static class SpannerOptions.FixedCloseableExecutorProvider implements SpannerOptions.CloseableExecutorProvider

Inheritance

java.lang.Object > SpannerOptions.FixedCloseableExecutorProvider

Static Methods

create(ScheduledExecutorService arg0)

public static SpannerOptions.FixedCloseableExecutorProvider create(ScheduledExecutorService arg0)
Parameter
NameDescription
arg0ScheduledExecutorService

Methods

close()

public void close()

getExecutor()

public ScheduledExecutorService getExecutor()
Returns
TypeDescription
ScheduledExecutorService

shouldAutoClose()

public boolean shouldAutoClose()
Returns
TypeDescription
boolean