com.google.appengine.tools.appstats
Class MiniProfilerAppstats

java.lang.Object
  extended by com.google.appengine.tools.appstats.MiniProfilerAppstats

public class MiniProfilerAppstats
extends Object

Utility for programmatically getting Appstats data.

It is in this com.google package so we get access to the package-private MemcacheWriter which is used to load the Appstats data from memcache.


Constructor Summary
MiniProfilerAppstats()
           
 
Method Summary
static Map<String,Object> getAppstatsDataFor(String appstatsId, Integer maxStackFrames)
          Get the Appstats data for the specified id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiniProfilerAppstats

public MiniProfilerAppstats()
Method Detail

getAppstatsDataFor

public static Map<String,Object> getAppstatsDataFor(String appstatsId,
                                                    Integer maxStackFrames)
Get the Appstats data for the specified id.

Parameters:
appstatsId - The id of the Appstats request.
maxStackFrames - The maximum number of stack frames to include in each RPC stack trace.
Returns:
The appstats data.


Copyright © 2011-2013. All Rights Reserved.