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