org.wildfly.swarm.config.ee.ManagedScheduledExecutorServiceConsumer Maven / Gradle / Ivy
package org.wildfly.swarm.config.ee;
import org.wildfly.swarm.config.ee.ManagedScheduledExecutorService;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface ManagedScheduledExecutorServiceConsumer> {
/**
* Configure a pre-constructed instance of ManagedScheduledExecutorService
* resource
*
* @parameter Instance of ManagedScheduledExecutorService to configure
* @return nothing
*/
void accept(T value);
default ManagedScheduledExecutorServiceConsumer andThen(
ManagedScheduledExecutorServiceConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy