On 7/11/10 3:24 PM, Anissa Lam wrote:
>
>
> On 7/7/10 2:25 PM, Jerome Dochez wrote:
>> On 7/7/10 10:19 AM, Vijay Ramachandran wrote:
>>> On 7/7/10 10:16 AM, Anissa Lam wrote:
>>>> Hi Vijay,
>>>>
>>>> On 7/7/10 10:02 AM, Vijay Ramachandran wrote:
>>>>> As of now, this service interacts with the command replication
>>>>> framework and, hence, the state of an instance changes from
>>>>> RUNNING to RESTART_REQUIRED only. Soon this service will interact
>>>>> with GMS subsystem and every other instance state change will be
>>>>> reflected.
>>>> What are other state that will be returned besides RUNNING,
>>>> NOT_RUNNING and RESTART_REQUIRED ?
>>> Currently the above + STARTING are the only states. I have not
>>> looked into GMS stuff in detail as yet - more states may have to be
>>> added once I get a better understanding of GMS sub system.
>>>> Is this an enum ? where is this defined ?
>>> Look at InstanceState.StateType
>> why not using ServerEnvironment.Status instead ?
>
> Have we reached a decision on this ?
Not yet - in couple of days.
> I need to know what is the instance status returned by list-instances
> in the ActionReport message-part property.
> As of now, it is hard coded to "RUNNING", "NOT_RUNNING" instead of
> using InstanceState.StateType nor ServerEnvironment.Status. Is
> there a plan for list-instances to switch to either StateType or Status ?
Yes
> if so, which one ?
TBD soon
vijay
>
> thanks
> Anissa.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>