Visit Platform at http://www.platform.com

esc_service_policy Struct Reference

Service management policy. More...


Data Fields

esc_service_start_type_t startType
esc_service_dependency_tdependency
int maxRestarts
int nExitValue
int * exitValues
int maxHeartbeatInterval
int maxMissedHeartbeats
int HostFailoverInterval


Detailed Description

Policy for how to manage a service, It groups a set of parameters to define when the service starts, how to define service "hang", and what to do if the container terminates; part of esc_service_info_t.

See also:
esc_service_info_t


Field Documentation

esc_service_start_type_t startType

type of service start-up

define the dependence relationship of a service

if the service restart times exceed the "MaxRestarts", the service instance wonĄŻt be restarted.

number of defined ExitValue

int* exitValues

values of defined ExitValue, array size is nExitValue

maximum time interval in seconds. Maximum interval during which the ESC expects to receive heartbeats from the service instance.

maximum service heartbeats missed before marking the service instance as "hang".

integer from 0 to INFINIT. Define how long ESC terminates INSTANCE_UNKNOWN instances, and sends host replacement requirement to VEMKD.



     
Date Modified: 26 Nov 2007
Platform Computing: www.platform.com

Platform Support: support@platform.com
Platform Information Development: doc@platform.com

Copyright © 2001-2007 Platform Computing Corporation. All rights reserved.