com.pax.dal.entity
Class AppNetworkStats
- java.lang.Object
-
- com.pax.dal.entity.AppNetworkStats
-
public class AppNetworkStats extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description AppNetworkStats()AppNetworkStats(java.lang.String mPackageName, long mobileRxBytes, long mobileTxBytes, long totalRxBytes, long totalTxBytes, long wifiRxBytes, long wifiTxBytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description longgetMobileRxBytes()longgetMobileTxBytes()java.lang.StringgetmPackageName()longgetTotalRxBytes()longgetTotalTxBytes()longgetWifiRxBytes()longgetWifiTxBytes()voidsetMobileRxBytes(long mobileRxBytes)voidsetMobileTxBytes(long mobileTxBytes)voidsetmPackageName(java.lang.String mPackageName)voidsetTotalRxBytes(long totalRxBytes)voidsetTotalTxBytes(long totalTxBytes)voidsetWifiRxBytes(long wifiRxBytes)voidsetWifiTxBytes(long wifiTxBytes)
-
-
-
Constructor Detail
-
AppNetworkStats
public AppNetworkStats()
-
AppNetworkStats
public AppNetworkStats(java.lang.String mPackageName, long mobileRxBytes, long mobileTxBytes, long totalRxBytes, long totalTxBytes, long wifiRxBytes, long wifiTxBytes)
-
-
Method Detail
-
getmPackageName
public java.lang.String getmPackageName()
- Returns:
- 应用包名application package name.
-
setmPackageName
public void setmPackageName(java.lang.String mPackageName)
-
getMobileRxBytes
public long getMobileRxBytes()
- Returns:
- 指定应用程序通过移动网络接收的数据量。Specifies the amount of data that an application receives over a mobile network.
-
setMobileRxBytes
public void setMobileRxBytes(long mobileRxBytes)
-
getMobileTxBytes
public long getMobileTxBytes()
- Returns:
- 指定应用程序通过移动网络发送的数据量。Specifies the amount of data that the application sends over the mobile network.
-
setMobileTxBytes
public void setMobileTxBytes(long mobileTxBytes)
-
getTotalRxBytes
public long getTotalRxBytes()
- Returns:
- 指定应用程序通过网络(WiFi和移动)接收的数据量。Specifies the amount of data that the application receives over the network(WiFi and Mobile).
-
setTotalRxBytes
public void setTotalRxBytes(long totalRxBytes)
-
getTotalTxBytes
public long getTotalTxBytes()
- Returns:
- 指定应用程序通过网络(WiFi和移动)发送的数据量。Specifies the amount of data that the application sends over the network(WiFi and Mobile).
-
setTotalTxBytes
public void setTotalTxBytes(long totalTxBytes)
-
getWifiRxBytes
public long getWifiRxBytes()
- Returns:
- 指定应用程序通过WiFi接收的数据量。Specifies the amount of data that the app receives over WiFi.
-
setWifiRxBytes
public void setWifiRxBytes(long wifiRxBytes)
-
getWifiTxBytes
public long getWifiTxBytes()
- Returns:
- 指定应用程序通过WiFi发送的数据量。Specifies the amount of data that the app sends over WiFi.
-
setWifiTxBytes
public void setWifiTxBytes(long wifiTxBytes)
-
-