All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.swarm.config.infinispan.RemoteCacheContainerConsumer Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
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