Package org.apache.hadoop.thriftfs.api

Examples of org.apache.hadoop.thriftfs.api.RuntimeInfo$RuntimeInfoTupleScheme


  /**
   * Return lots of status info about this server
   */
  public RuntimeInfo getRuntimeInfo(RequestContext ctx) {
    RuntimeInfo ri = new RuntimeInfo();
    ri.totalMemory = Runtime.getRuntime().totalMemory();
    ri.freeMemory = Runtime.getRuntime().freeMemory();
    ri.maxMemory = Runtime.getRuntime().maxMemory();

    return ri;
View Full Code Here

TOP

Related Classes of org.apache.hadoop.thriftfs.api.RuntimeInfo$RuntimeInfoTupleScheme

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.