|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.platform.ego.impl.ServicePolicy
public class ServicePolicy
ServicePolicy specifies management policy of service.
Constructor Summary | |
---|---|
ServicePolicy()
|
Method Summary | |
---|---|
java.lang.String[] |
getDependency()
Get dependency relationship of service. |
int |
getHostFailoverInterval()
Get host failover interval (integer from 0 to INFINIT). |
int |
getMaxRestarts()
Get maximum restart times of service. |
java.lang.String |
getStartType()
Get type of service start-up. |
void |
setDependency(java.lang.String[] dependency)
Set dependency relationship of service. |
void |
setHostFailoverInterval(int hostFailoverInterval)
Set host failover interval (integer from 0 to INFINIT). |
void |
setMaxRestarts(int maxRestarts)
Set maximum restart times of service. |
void |
setStartType(java.lang.String startType)
Set type of service start-up. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServicePolicy()
Method Detail |
---|
public java.lang.String[] getDependency()
public void setDependency(java.lang.String[] dependency)
dependency
- : specifies dependence relationship of service.public int getHostFailoverInterval()
public void setHostFailoverInterval(int hostFailoverInterval)
hostFailoverInterval
- : specifies integer from 0 to INFINIT.public int getMaxRestarts()
public void setMaxRestarts(int maxRestarts)
maxRestarts
- : specifies maximum restart times of service.public java.lang.String getStartType()
public void setStartType(java.lang.String startType)
startType
- : specifies type of service start-up.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |