Examples of restartTracker()


Examples of org.exoplatform.services.database.table.IDGenerator.restartTracker()

      for (int i = 0; i < 10; i++)
      {
         idGenerator.generateLongId(ExoLongID.class);
      }

      idGenerator.restartTracker();
      idGenerator.generateLongId(ExoLongID.class);
   }

}
View Full Code Here

Examples of org.exoplatform.services.database.table.IDGenerator.restartTracker()

         System.out.println("\n=================> IDGenerator " + i + " : "
            + idGenerator.generateLongId(ExoLongID.class));
         // if (i == 5) idGenerator.restartTracker();
      }

      idGenerator.restartTracker();
      System.out
         .println("\n=================> IDGenerator " + 10 + " : " + idGenerator.generateLongId(ExoLongID.class));
   }

}
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.