NamespaceFacade(CuratorFrameworkImpl client, String namespace) { super(client); this.client = client; this.namespace = new NamespaceImpl(client, namespace); }
@Override String fixForNamespace(String path) { return namespace.fixForNamespace(path, false); }
@Override public String getNamespace() { String str = namespace.getNamespace(); return (str != null) ? str : ""; }
@Override public EnsurePath newNamespaceAwareEnsurePath(String path) { return namespace.newNamespaceAwareEnsurePath(path); }
@Override String unfixForNamespace(String path) { return namespace.unfixForNamespace(path); }
@Override public EnsurePath newNamespaceAwareEnsurePath(String path) { return namespace.newNamespaceAwareEnsurePath(path); }
String unfixForNamespace(String path) { return namespace.unfixForNamespace(path); }
protected CuratorFrameworkImpl(CuratorFrameworkImpl parent) { client = parent.client; listeners = parent.listeners; unhandledErrorListeners = parent.unhandledErrorListeners; threadFactory = parent.threadFactory; maxCloseWaitMs = parent.maxCloseWaitMs; backgroundOperations = parent.backgroundOperations; forcedSleepOperations = parent.forcedSleepOperations; connectionStateManager = parent.connectionStateManager; defaultData = parent.defaultData; failedDeleteManager = parent.failedDeleteManager; failedRemoveWatcherManager = parent.failedRemoveWatcherManager; compressionProvider = parent.compressionProvider; aclProvider = parent.aclProvider; namespaceFacadeCache = parent.namespaceFacadeCache; namespace = new NamespaceImpl(this, null); state = parent.state; authInfos = parent.authInfos; useContainerParentsIfAvailable = parent.useContainerParentsIfAvailable; connectionStateErrorPolicy = parent.connectionStateErrorPolicy; internalConnectionHandler = parent.internalConnectionHandler; schemaSet = parent.schemaSet; zk34CompatibilityMode = parent.zk34CompatibilityMode; ensembleTracker = null; runSafeService = parent.runSafeService; }
@Override String fixForNamespace(String path, boolean isSequential) { return namespace.fixForNamespace(path, isSequential); }
@Override public EnsurePath newNamespaceAwareEnsurePath(String path) { return namespace.newNamespaceAwareEnsurePath(path); }
@Override String unfixForNamespace(String path) { return namespace.unfixForNamespace(path); }
@Override public String getNamespace() { return namespace.getNamespace(); }
NamespaceFacade(CuratorFrameworkImpl client, String namespace) { super(client); this.client = client; this.namespace = new NamespaceImpl(client, namespace); }
String fixForNamespace(String path) { return namespace.fixForNamespace(path, false); }
@Override public EnsurePath newNamespaceAwareEnsurePath(String path) { return namespace.newNamespaceAwareEnsurePath(path); }
String unfixForNamespace(String path) { return namespace.unfixForNamespace(path); }
@Override public String getNamespace() { String str = namespace.getNamespace(); return (str != null) ? str : ""; }
protected CuratorFrameworkImpl(CuratorFrameworkImpl parent) { client = parent.client; listeners = parent.listeners; unhandledErrorListeners = parent.unhandledErrorListeners; threadFactory = parent.threadFactory; maxCloseWaitMs = parent.maxCloseWaitMs; backgroundOperations = parent.backgroundOperations; connectionStateManager = parent.connectionStateManager; defaultData = parent.defaultData; failedDeleteManager = parent.failedDeleteManager; compressionProvider = parent.compressionProvider; aclProvider = parent.aclProvider; namespaceFacadeCache = parent.namespaceFacadeCache; namespace = new NamespaceImpl(this, null); state = parent.state; authInfos = parent.authInfos; useContainerParentsIfAvailable = parent.useContainerParentsIfAvailable; }
String fixForNamespace(String path, boolean isSequential) { return namespace.fixForNamespace(path, isSequential); }
@Override public EnsurePath newNamespaceAwareEnsurePath(String path) { return namespace.newNamespaceAwareEnsurePath(path); }