Package org.jboss.cache

Examples of org.jboss.cache.UnversionedNode


   }

   public void testLockReentrancy() throws InterruptedException
   {
      Fqn fqn = Fqn.fromString("/a/b/c");
      NodeSPI node = new NodeInvocationDelegate(new UnversionedNode(fqn));

      assert lm.lock(fqn, WRITE, null);
      assert lm.isLocked(node);

      assert lm.lock(node, WRITE, null);
View Full Code Here


      assert !lm.isLocked(node) : "Should not be locked";
   }

   protected NodeSPI createNode(Fqn fqn)
   {
      UnversionedNode un = new UnversionedNode(fqn);
      return new NodeInvocationDelegate(un);
   }
View Full Code Here

   }

   public void testLockReentrancy() throws InterruptedException
   {
      Fqn fqn = Fqn.fromString("/a/b/c");
      NodeSPI node = new NodeInvocationDelegate(new UnversionedNode(fqn));

      assert lm.lock(fqn, WRITE, null);
      assert lm.isLocked(node);

      assert lm.lock(node, WRITE, null);
View Full Code Here

TOP

Related Classes of org.jboss.cache.UnversionedNode

Copyright © 2018 www.massapicom. 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.