public class BaseTestTreeCache
extends org.apache.curator.test.BaseClassForTests
Modifier and Type | Field and Description |
---|---|
protected AtomicBoolean |
hadBackgroundException |
Constructor and Description |
---|
BaseTestTreeCache() |
Modifier and Type | Method and Description |
---|---|
protected TreeCache |
buildWithListeners(TreeCache.Builder builder)
Finish constructing a TreeCache that records exceptions and automatically listens.
|
protected TreeCache |
newTreeCacheWithListeners(org.apache.curator.framework.CuratorFramework client,
String path)
Construct a TreeCache that records exceptions and automatically listens.
|
void |
setup() |
void |
teardown() |
protected final AtomicBoolean hadBackgroundException
protected TreeCache newTreeCacheWithListeners(org.apache.curator.framework.CuratorFramework client, String path)
protected TreeCache buildWithListeners(TreeCache.Builder builder)
@BeforeEach public void setup() throws Exception
setup
in class org.apache.curator.test.BaseClassForTests
Exception
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.