Interface CuratorCacheBuilder


  • public interface CuratorCacheBuilder
    • Method Detail

      • withExceptionHandler

        CuratorCacheBuilder withExceptionHandler​(java.util.function.Consumer<java.lang.Exception> exceptionHandler)
        By default any unexpected exception is handled by logging the exception. You can change so that a handler is called instead. Under normal circumstances, this shouldn't be necessary.
        Parameters:
        exceptionHandler - exception handler to use
      • build

        CuratorCache build()
        Return a new Curator Cache based on the builder methods that have been called
        Returns:
        new Curator Cache