Package com.activequant.archive

Examples of com.activequant.archive.IArchiveWriter.commit()


        IArchiveWriter iwr = fac.getWriter(TimeFrame.EOD);
       
        TimeStamp now = new TimeStamp(new Date());
        double value = Math.random();
        iwr.write("TEST",now,"PX_SETTLE", value);
        iwr.commit();
       
        TSContainer container = iar.getTimeSeries("TEST", "PX_SETTLE", now);
        if(container!=null && container.timeStamps.length==1 && container.values[0] == value)
          System.out.println("All ok.");       
        else{
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.