Class FunctionalRegistryFactory<K,​V>

  • All Implemented Interfaces:
    Runnable, org.wildfly.clustering.registry.RegistryFactory<K,​V>

    public class FunctionalRegistryFactory<K,​V>
    extends Object
    implements org.wildfly.clustering.registry.RegistryFactory<K,​V>, Runnable
    Author:
    Paul Ferraro
    • Constructor Detail

      • FunctionalRegistryFactory

        public FunctionalRegistryFactory​(BiFunction<Map.Entry<K,​V>,​Runnable,​org.wildfly.clustering.registry.Registry<K,​V>> factory)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
      • createRegistry

        public org.wildfly.clustering.registry.Registry<K,​V> createRegistry​(Map.Entry<K,​V> entry)
        Specified by:
        createRegistry in interface org.wildfly.clustering.registry.RegistryFactory<K,​V>