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