Examples of storeTree()


Examples of net.opentsdb.tree.Tree.storeTree()

  @Test
  public void storeTree() throws Exception {
    setupStorage(true, true);
    final Tree tree = buildTestTree();
    tree.setName("New Name");
    assertNotNull(tree.storeTree(storage.getTSDB(), false)
        .joinUninterruptibly());
  }
 
  @Test (expected = IllegalStateException.class)
  public void storeTreeNoChanges() throws Exception {
View Full Code Here

Examples of net.opentsdb.tree.Tree.storeTree()

 
  @Test (expected = IllegalStateException.class)
  public void storeTreeNoChanges() throws Exception {
    setupStorage(true, true);
    final Tree tree = buildTestTree();
    tree.storeTree(storage.getTSDB(), false);
    tree.storeTree(storage.getTSDB(), false);
  }
 
  @Test (expected = IllegalArgumentException.class)
  public void storeTreeTreeID0() throws Exception {
View Full Code Here

Examples of net.opentsdb.tree.Tree.storeTree()

  @Test (expected = IllegalStateException.class)
  public void storeTreeNoChanges() throws Exception {
    setupStorage(true, true);
    final Tree tree = buildTestTree();
    tree.storeTree(storage.getTSDB(), false);
    tree.storeTree(storage.getTSDB(), false);
  }
 
  @Test (expected = IllegalArgumentException.class)
  public void storeTreeTreeID0() throws Exception {
    setupStorage(true, true);
View Full Code Here

Examples of net.opentsdb.tree.Tree.storeTree()

  @Test (expected = IllegalArgumentException.class)
  public void storeTreeTreeID0() throws Exception {
    setupStorage(true, true);
    final Tree tree = buildTestTree();
    tree.setTreeId(0);
    tree.storeTree(storage.getTSDB(), false);
  }
 
  @Test (expected = IllegalArgumentException.class)
  public void storeTreeTreeID655536() throws Exception {
    setupStorage(true, true);
View Full Code Here

Examples of net.opentsdb.tree.Tree.storeTree()

  @Test (expected = IllegalArgumentException.class)
  public void storeTreeTreeID655536() throws Exception {
    setupStorage(true, true);
    final Tree tree = buildTestTree();
    tree.setTreeId(655536);
    tree.storeTree(storage.getTSDB(), false);
  }
 
  @Test
  public void flushCollisions() throws Exception {
    setupStorage(true, true);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.