com.clickzetta.platform.common.NotifyScheduledExecutorService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
package com.clickzetta.platform.common;
import com.clickzetta.platform.client.CloseableInternal;
import java.io.IOException;
import java.util.concurrent.Callable;
import java.util.concurrent.Future;
import java.util.concurrent.TimeUnit;
public interface NotifyScheduledExecutorService extends CloseableInternal {
void schedule(Runnable command, long delay, TimeUnit unit) throws IOException;
Future schedule(Callable callable, long delay, TimeUnit unit) throws IOException;
void notifyAllScheduledTask();
class Builder {
private Builder() {
}
public static NotifyScheduledExecutorService build(String name, int corePoolSize) {
return new NotifyScheduledExecutorServiceImpl(name, corePoolSize);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy