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 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

      public AddressSetAddFunction(Collection<org.infinispan.remoting.transport.Address> addresses)
      Creates a function that adds the specified addresses to a set.
      Parameters:
      addresses - a collection of cache container addresses