Class CuratorFrameworkShim


  • public class CuratorFrameworkShim
    extends java.lang.Object
    The shim implementation of CuratorFramework. Wraps an existing implementation and then re-wraps the builders and such that are returned by it. Currently has incomplete coverage of wrapped items. Code which must have runtime compatibility with either 4.0.0 or 2.x versions Curator should use this shim.
    • Constructor Detail

      • CuratorFrameworkShim

        public CuratorFrameworkShim​(org.apache.curator.framework.CuratorFramework curator)
    • Method Detail

      • createContainers

        public void createContainers​(java.lang.String path)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getData

        public org.apache.curator.framework.api.GetDataBuilder getData()
      • setData

        public org.apache.curator.framework.api.SetDataBuilder setData()
      • createSafely

        public void createSafely​(java.lang.String path)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception