be.ac.ulg.montefiore.run.totem.repository.tomography.utils
Class RrdParser

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.repository.tomography.utils.RrdParser

public class RrdParser
extends java.lang.Object

This class is used to parse RRd files (These files need to be convert to JRobin format before use. Furthermore, files must be putted in folder ACCESS, CORE,PEERING (more info in method summary)

Creation date: 24-mars-2006

Author:
Quentin Chevalier (quentin.chevalier@gmail.com)

Constructor Summary
RrdParser(java.lang.String directory, long startTime, int nbSample, int step, java.lang.String inbound, java.lang.String outbound, java.lang.String typeVal)
           
 
Method Summary
 LinkLoadData getSnmpMatrix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RrdParser

public RrdParser(java.lang.String directory,
                 long startTime,
                 int nbSample,
                 int step,
                 java.lang.String inbound,
                 java.lang.String outbound,
                 java.lang.String typeVal)
          throws NotYetImplementedException,
                 java.io.IOException,
                 org.jrobin.core.RrdException
Parameters:
directory - The direcory containt the three subfolders with each containing jrd files
startTime - The first sample we need
nbSample - The number of sample needed
step - The step between two samples (must corralate with jrd file) (unit : millisecond)
Throws:
NotYetImplementedException
java.io.IOException
org.jrobin.core.RrdException
Method Detail

getSnmpMatrix

public LinkLoadData getSnmpMatrix()
Returns:
Returns the snmpMatrix.


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.