clime.messadmin.model.IServerInfo Maven / Gradle / Ivy
/**
*
*/
package clime.messadmin.model;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* @author Cédrik LIME
*/
public interface IServerInfo {
/**
* @return server-specific data (user plugin)
*/
public List/*>*/ getServerSpecificData();
/**
* @return startup time of this server
*/
public Date getStartupTime();
/**
* @since 1.4
* @see Runtime#getMaxMemory()
*/
public long getMaxMemory();
/**
* @see Runtime#freeMemory()
*/
public long getFreeMemory();
/**
* @see Runtime#totalMemory()
*/
public long getTotalMemory();
/**
* @since 1.4
* @see Runtime#availableProcessors()
*/
public int getCpuCount();
public Map/**/ getSystemProperties();
/**
* @since 1.5
* @see System#getenv()
*/
public Map/**/ getSystemEnv();
/*
public String getServerInfo();
*/
/**
* @see System#gc()
*/
public void gc();
}