Class CuratorFrameworkWithUnhandledErrorListener

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class CuratorFrameworkWithUnhandledErrorListener
    extends Object
    implements Closeable
    A wrapper for curatorFramework and unHandledErrorListener which should be unregister from curatorFramework before closing it.
    • Constructor Detail

      • CuratorFrameworkWithUnhandledErrorListener

        public CuratorFrameworkWithUnhandledErrorListener​(org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFramework client,
                                                          org.apache.flink.shaded.curator5.org.apache.curator.framework.api.UnhandledErrorListener listener)
    • Method Detail

      • asCuratorFramework

        public org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFramework asCuratorFramework()