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>>, org.wildfly.clustering.cache.function.Operation<Collection<org.infinispan.remoting.transport.Address>>

public class AddressSetAddFunction extends org.wildfly.clustering.cache.function.SetAddFunction<org.infinispan.remoting.transport.Address>
A function used to perform add/addAll operations on a set of addresses.
Author:
Paul Ferraro
  • Constructor Summary

    Constructors
    Constructor
    Description
    AddressSetAddFunction(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 org.wildfly.clustering.cache.function.CollectionAddFunction

    accept

    Methods inherited from class org.wildfly.clustering.cache.function.CollectionFunction

    equals, hashCode

    Methods inherited from class org.wildfly.clustering.cache.function.AbstractFunction

    apply, getOperand, toString

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface BiConsumer

    andThen

    Methods 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

      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