Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Instance recycle itself after a specific load point is reached



On Dec 7, 2006, at 4:57 PM, Tanmoy Roy wrote:

I wanted to know if there is anything available in the WebObjects that
will allow the instance to recycle itself after a specific load point
is reached.

Is something available in the monitor where in I can specify that
after an instance gets a specified number of session it will recycle
gracefully and automatically even though the scheduled down-time is
not reached.

I could not find anything that helps in the net. Any pointer would be
of great help.

You'll have to implement that one yourself, there is no built-in way to do that. Shouldn't be too hard though: subclass Thread, monitor Application.activeSessionCount() and terminate when you hit your limit.



sacha

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden
References: 
 >Instance recycle itself after a specific load point is reached (From: "Tanmoy Roy" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.