Class AddressSetAddFunction
java.lang.Object
org.wildfly.clustering.cache.function.AbstractFunction<Collection<org.infinispan.remoting.transport.Address>, Set<org.infinispan.remoting.transport.Address>>
org.wildfly.clustering.cache.function.CollectionFunction<org.infinispan.remoting.transport.Address, Set<org.infinispan.remoting.transport.Address>>
org.wildfly.clustering.cache.function.CollectionAddFunction<org.infinispan.remoting.transport.Address, Set<org.infinispan.remoting.transport.Address>>
org.wildfly.clustering.cache.function.SetAddFunction<org.infinispan.remoting.transport.Address>
org.wildfly.clustering.server.infinispan.provider.AddressSetAddFunction
- All Implemented Interfaces:
BiConsumer<Set<org.infinispan.remoting.transport.Address>, Collection<org.infinispan.remoting.transport.Address>>, BiFunction<Object, Set<org.infinispan.remoting.transport.Address>, Set<org.infinispan.remoting.transport.Address>>, Operation<Collection<org.infinispan.remoting.transport.Address>>
public class AddressSetAddFunction
extends SetAddFunction<org.infinispan.remoting.transport.Address>
A function used to perform add/addAll operations on a set of addresses.
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionAddressSetAddFunction(Collection<org.infinispan.remoting.transport.Address> addresses) Creates a function that adds the specified addresses to a set.AddressSetAddFunction(org.infinispan.remoting.transport.Address address) Creates a function that adds the specified address to a set. -
Method Summary
Methods inherited from class CollectionAddFunction
acceptMethods inherited from class CollectionFunction
equals, hashCodeMethods inherited from class AbstractFunction
apply, getOperand, toStringMethods inherited from interface BiConsumer
andThenMethods inherited from interface BiFunction
andThen
-
Constructor Details
-
AddressSetAddFunction
public AddressSetAddFunction(org.infinispan.remoting.transport.Address address) Creates a function that adds the specified address to a set.- Parameters:
address- a cache container address
-
AddressSetAddFunction
Creates a function that adds the specified addresses to a set.- Parameters:
addresses- a collection of cache container addresses
-