Class FreeBsdNetworks
java.lang.Object
oshi.hardware.common.Networks
oshi.hardware.platform.unix.freebsd.FreeBsdNetworks
@ThreadSafe public final class FreeBsdNetworks extends Networks
FreeBsdNetworks class.
-
Constructor Summary
Constructors Constructor Description FreeBsdNetworks()
-
Method Summary
Modifier and Type Method Description static boolean
updateNetworkStats(NetworkIF netIF)
Updates interface network statistics on the given interface.
-
Constructor Details
-
FreeBsdNetworks
public FreeBsdNetworks()
-
-
Method Details
-
updateNetworkStats
Updates interface network statistics on the given interface. Statistics include packets and bytes sent and received, and interface speed.- Parameters:
netIF
- The interface on which to update statistics- Returns:
true
if the update was successful,false
otherwise.
-