Hi,
I found the thread that looked like.

http://groups.google.com/group/google-appengine-java/browse_thread/thread/f2595bcaa2256a93/68a5a9a28502410b?lnk=gst&q=Statistics#68a5a9a28502410b

In Development Server, statistics seems to return NULL.

thanks.

On 1月19日, 午前2:00, Stuart Moffatt <[email protected]> wrote:
> Cannot get statistics for an entity on the dev server:
>
> DatastoreService datastore =
> DatastoreServiceFactory.getDatastoreService();
> Entity globalStat = datastore.prepare(new Query
> ("__Stat_Total__")).asSingleEntity();
> Long totalBytes = (Long) globalStat.getProperty("bytes");
>
> OS: Mac OS X 10.5.8, Eclipse 3.5.1, AppEngine SDK: 1.30 as part of
> Google Plugin for Eclipse  com.google.appengine.eclipse.sdkbundle.
> 1.3.0_1.3.0.v200912141120/app
> engine-java-sdk-1.3.0/lib/agent/appengine-agent.jar, GWT SDK: 2.0.0
>
> Also posted issue regarding null __Stat_Kind__ before I realized it
> applied to all statistics, not just Kind
-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to