Skip to content

Instantly share code, notes, and snippets.

@martin-cowie
Created April 21, 2017 14:04
Show Gist options
  • Save martin-cowie/8bb97832ba20fd4d0fb67790c82d9100 to your computer and use it in GitHub Desktop.
Save martin-cowie/8bb97832ba20fd4d0fb67790c82d9100 to your computer and use it in GitHub Desktop.
package com.acme;
/**
* DiskspaceMBean
*<P>
* Diskspace Management Bean.
*
* @author mcowie - created 24 Oct 2011
*/
public interface DiskspaceMBean
{
/**
* getAbsolutePath
* <P>
* Get absolute path
*
* @return the absolute path
*/
public String getAbsolutePath();
/**
* getTotalSpace
* <P>
* Get total space
*
* @return the total space
*/
public long getTotalSpace();
/**
* getFreeSpace
* <P>
* Get free space
*
* @return the free space
*/
public long getFreeSpace();
/**
* getUsableSpace
* <P>
* Get usable space
*
* @return the usable space
*/
public long getUsableSpace();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment