org.lantern.Stats Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lantern-common Show documentation
Show all versions of lantern-common Show documentation
Lantern is a peer-to-peer and trust-network-based tool for circumventing censors and preventing monitoring.
package org.lantern;
public interface Stats {
long getUptime();
long getPeerCount();
long getPeerCountThisRun();
long getUpBytesThisRun();
long getDownBytesThisRun();
long getUpBytesThisRunForPeers();
long getUpBytesThisRunViaProxies();
long getUpBytesThisRunToPeers();
long getDownBytesThisRunForPeers();
long getDownBytesThisRunViaProxies();
long getDownBytesThisRunFromPeers();
long getUpBytesPerSecond();
long getDownBytesPerSecond();
long getUpBytesPerSecondForPeers();
long getUpBytesPerSecondViaProxies();
long getDownBytesPerSecondForPeers();
long getDownBytesPerSecondViaProxies();
long getDownBytesPerSecondFromPeers();
long getUpBytesPerSecondToPeers();
long getTotalBytesProxied();
long getDirectBytes();
int getTotalProxiedRequests();
int getDirectRequests();
boolean isUpnp();
boolean isNatpmp();
String getCountryCode();
String getVersion();
double getProcessCpuUsage();
double getSystemCpuUsage();
double getSystemLoadAverage();
double getMemoryUsageInBytes();
long getNumberOfOpenFileDescriptors();
}