Class SpannerOptions.FixedCloseableExecutorProvider (2.15.5)

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
Returns
TypeDescription
SpannerOptions.FixedCloseableExecutorProvider

Methods

close()

public void close()

getExecutor()

public ScheduledExecutorService getExecutor()
Returns
TypeDescription
ScheduledExecutorService

shouldAutoClose()

public boolean shouldAutoClose()
Returns
TypeDescription
boolean