org.mbari.siam.tests.moos.deployed
Class RetrievalTest

java.lang.Object
  extended by org.mbari.siam.tests.moos.deployed.RetrievalTest

public class RetrievalTest
extends java.lang.Object

This test appends packets to a DeviceLog. For every 'n' packets appended to the log, the log is closed and the latest packets are read. The test prints out the time required to read as a function of the total number of packets in the file.


Constructor Summary
RetrievalTest(long incrementPackets, long intervalMsec, int msgInterval)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetrievalTest

public RetrievalTest(long incrementPackets,
                     long intervalMsec,
                     int msgInterval)
Parameters:
incrementPackets - Number of packets to write between retrievals
intervalMsec -
msgInterval -
Method Detail

run

public void run()
         throws java.lang.Exception
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.