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

clime.messadmin.model.IServerInfo Maven / Gradle / Ivy

Go to download

Notification system and Session administration for J2EE Web Applications

There is a newer version: 4.1.1
Show newest version
/**
 * 
 */
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy