Package org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.BufferedJBossCache

Examples of org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.BufferedJBossCache.PutObjectContainer


   public void testPutOmit()
   {
      CompressedChangesBuffer buffer = new CompressedChangesBuffer();
      ChangesContainer put1 =
         new PutObjectContainer(Fqn.fromString("wk-unique-name/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b"),
            new HashMap<String, String>(), null, buffer.getHistoryIndex(), false, false, 0);
      ChangesContainer put2 =
         new PutObjectContainer(Fqn.fromString("wk-unique-name/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b/c"),
            new HashMap<String, String>(), null, buffer.getHistoryIndex(), false, false, 0);
      ChangesContainer rm1 =
         new RemoveNodeContainer(Fqn.fromString("wk-unique-name/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b"), null, buffer
            .getHistoryIndex(), false, false, 0);
      buffer.add(put1);
View Full Code Here


   public void testRemoveOmit()
   {
      CompressedChangesBuffer buffer = new CompressedChangesBuffer();
      ChangesContainer put1 =
         new PutObjectContainer(Fqn.fromString("wk-unique-name/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b"),
            new HashMap<String, String>(), null, buffer.getHistoryIndex(), false, false, 0);

      ChangesContainer put2 =
         new PutObjectContainer(Fqn.fromString("wk-unique-name/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b/c"),
            new HashMap<String, String>(), null, buffer.getHistoryIndex(), false, false, 0);
      ChangesContainer rm1 =
         new RemoveNodeContainer(Fqn.fromString("wk-unique-name/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b/c"), null,
            buffer.getHistoryIndex(), false, false, 0);
      ChangesContainer rm2 =
View Full Code Here

   public void testNoChangeOnRegion()
   {
      CompressedChangesBuffer buffer = new CompressedChangesBuffer();
      ChangesContainer put1 =
         new PutObjectContainer(Fqn.fromString("wk-unique-name/" + JBossCacheWorkspaceStorageCache.CHILD_NODES_LIST + "/b"),
            new HashMap<String, String>(), null, buffer.getHistoryIndex(), false, false, 0);

      ChangesContainer rm1 =
         new RemoveNodeContainer(Fqn.fromString("wk-unique-name/" + JBossCacheWorkspaceStorageCache.CHILD_NODES_LIST + "/b"), null,
            buffer.getHistoryIndex(), false, false, 0);
View Full Code Here

   public void testPutOmit()
   {
      CompressedChangesBuffer buffer = new CompressedChangesBuffer();
      ChangesContainer put1 =
         new PutObjectContainer(Fqn.fromString("/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b"),
            new HashMap<String, String>(), null, buffer.getHistoryIndex(), false, false, 0);
      ChangesContainer put2 =
         new PutObjectContainer(Fqn.fromString("/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b/c"),
            new HashMap<String, String>(), null, buffer.getHistoryIndex(), false, false, 0);
      ChangesContainer rm1 =
         new RemoveNodeContainer(Fqn.fromString("/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b"), null, buffer
            .getHistoryIndex(), false, false, 0);
      buffer.add(put1);
View Full Code Here

   public void testRemoveOmit()
   {
      CompressedChangesBuffer buffer = new CompressedChangesBuffer();
      ChangesContainer put1 =
         new PutObjectContainer(Fqn.fromString("/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b"),
            new HashMap<String, String>(), null, buffer.getHistoryIndex(), false, false, 0);

      ChangesContainer put2 =
         new PutObjectContainer(Fqn.fromString("/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b/c"),
            new HashMap<String, String>(), null, buffer.getHistoryIndex(), false, false, 0);
      ChangesContainer rm1 =
         new RemoveNodeContainer(Fqn.fromString("/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b/c"), null,
            buffer.getHistoryIndex(), false, false, 0);
      ChangesContainer rm2 =
View Full Code Here

   public void testNoChangeOnRegion()
   {
      CompressedChangesBuffer buffer = new CompressedChangesBuffer();
      ChangesContainer put1 =
         new PutObjectContainer(Fqn.fromString("/" + JBossCacheWorkspaceStorageCache.CHILD_NODES_LIST + "/b"),
            new HashMap<String, String>(), null, buffer.getHistoryIndex(), false, false, 0);

      ChangesContainer rm1 =
         new RemoveNodeContainer(Fqn.fromString("/" + JBossCacheWorkspaceStorageCache.CHILD_NODES_LIST + "/b"), null,
            buffer.getHistoryIndex(), false, false, 0);
View Full Code Here

TOP

Related Classes of org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.BufferedJBossCache.PutObjectContainer

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.