Class InMemoryRegistryStore<E>

java.lang.Object
io.github.resilience4j.core.registry.InMemoryRegistryStore<E>
All Implemented Interfaces:
RegistryStore<E>

public class InMemoryRegistryStore<E>
extends java.lang.Object
implements RegistryStore<E>
Default Implementation Of RegistryStore using ConcurrentHashMap
  • Constructor Summary

    Constructors 
    Constructor Description
    InMemoryRegistryStore()  
  • Method Summary

    Modifier and Type Method Description
    E computeIfAbsent​(java.lang.String key, java.util.function.Function<? super java.lang.String,​? extends E> mappingFunction)  
    java.util.Optional<E> find​(java.lang.String key)  
    E putIfAbsent​(java.lang.String key, E value)  
    java.util.Optional<E> remove​(java.lang.String name)  
    java.util.Optional<E> replace​(java.lang.String name, E newEntry)  
    java.util.Collection<E> values()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait