Package de.linwave.gtm.spring.server

Examples of de.linwave.gtm.spring.server.Info


    long OID=0;
   
    System.out.println( db.echo( "FROM hello" ));
    long t1 = System.currentTimeMillis();
    for (int i=0; i<1000; i++) {
      OID = db.store( new Info("Hello from client"));
      if (i % 100 == 0)
        System.out.println("Stored with oid=" + OID);
    }
    long t2 = System.currentTimeMillis();
   
    for (long oid = OID; oid > OID - 10; oid--) {
      try {
        Info info = db.getByID(Info.class, oid);
        System.out.println(oid + " " + info);
      } catch (Exception ex) {
        System.err.println(ex.getMessage());
      }
    }
View Full Code Here

TOP

Related Classes of de.linwave.gtm.spring.server.Info

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.