On Sunday, June 5, 2011 2:32:57 AM UTC-7, radzish wrote:

> Hi,
>
> Backends Overview page:
>
> http://code.google.com/appengine/docs/java/backends/overview.html
>
> Briefly explains how to use LifecycleManager. Therefore, reference to its 
> javadoc
>
>
> http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/LifecycleManager.html
>
> does not work for me: 404 error code.
>

Thanks for the bug report, we're fixing it.

 

> Where I can explanation to LifecycleManager and what else it can be used 
> for ?
>
> My specific questions:
>
> 1. does com.google.appengine.api.LifecycleManager.beginShutdown(long 
> deadline) method called from within backend makes backend to shut down. Is 
> that guaranteed
>

That method is only used internally and for testing.  A backend instance 
can't shut itself down just yet.  In the future, we plan to offer a way for 
a Backend instance to request shutdown.
 

> 2. does LifecycleManager works for regular dynamic non-backend instance? 
> Especially I would like to know if I can use ShutdownHook to flush some 
> instance data to the datastore.
>

No.  The shutdown process is currently only available for Backends.

- Justin

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/U2FJWFA2OFpJMVFK.
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