All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lantern.Stats Maven / Gradle / Ivy

Go to download

Lantern is a peer-to-peer and trust-network-based tool for circumventing censors and preventing monitoring.

There is a newer version: 0.1
Show newest version
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();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy