Class SpannerOptions.FixedCloseableExecutorProvider (2.17.0)

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
Name Description
arg0 ScheduledExecutorService
Returns
Type Description
SpannerOptions.FixedCloseableExecutorProvider

Methods

close()

public void close()

getExecutor()

public ScheduledExecutorService getExecutor()
Returns
Type Description
ScheduledExecutorService

shouldAutoClose()

public boolean shouldAutoClose()
Returns
Type Description
boolean