de.fzj.unicore.uas.jmx
Class FileTransferPerfMetrics
java.lang.Object
de.fzj.unicore.uas.jmx.FileTransferPerfMetrics
- All Implemented Interfaces:
- FileTransferPerfMetricsMBean
public class FileTransferPerfMetrics
- extends java.lang.Object
- implements FileTransferPerfMetricsMBean
collects data transfer performance data and makes them
available via JMX. Also, the admin can enable/disable the
filetransfers bypassing the gateway.
- Author:
- schuller
- See Also:
SMSBaseImpl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileTransferPerfMetrics
public FileTransferPerfMetrics()
publishExportData
public static void publishExportData(float volume,
float kBytesPerSec)
- add data values for computing export statistics
- Parameters:
volume - - transferred data in mbyteskBytesPerSec - - measured data rate
publishImportData
public static void publishImportData(float volume,
float kBytesPerSec)
- add data values for computing import statistics
- Parameters:
volume - kByteskBytesPerSec -
getIsBypassingGateway
public boolean getIsBypassingGateway()
- Specified by:
getIsBypassingGateway in interface FileTransferPerfMetricsMBean
enableGatewayBypass
public void enableGatewayBypass()
- Specified by:
enableGatewayBypass in interface FileTransferPerfMetricsMBean
disableGatewayBypass
public void disableGatewayBypass()
- Specified by:
disableGatewayBypass in interface FileTransferPerfMetricsMBean
clearStatistics
public void clearStatistics()
- Specified by:
clearStatistics in interface FileTransferPerfMetricsMBean
getTotalBytesExported
public java.lang.String getTotalBytesExported()
- Specified by:
getTotalBytesExported in interface FileTransferPerfMetricsMBean
getMeanExportDataRate
public java.lang.String getMeanExportDataRate()
- Specified by:
getMeanExportDataRate in interface FileTransferPerfMetricsMBean
getTotalBytesImported
public java.lang.String getTotalBytesImported()
- Specified by:
getTotalBytesImported in interface FileTransferPerfMetricsMBean
getMeanImportDataRate
public java.lang.String getMeanImportDataRate()
- Specified by:
getMeanImportDataRate in interface FileTransferPerfMetricsMBean
Copyright © 2006-2010 Research Center Juelich. All Rights Reserved.