|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.di.config.base.BaseConfigurationImpl
com.ibm.di.config.base.ReconnectConfigImpl
public class ReconnectConfigImpl
Implements (@link ReconnectConfig}
| Field Summary | |
|---|---|
static String |
AUTO_RECONNECT
|
static String |
INIT_RECONNECT
|
static String |
NUMBER_OF_RETRIES
|
static String |
RETRY_DELAY
|
static String |
SKIP_FORWARD
|
| Fields inherited from class com.ibm.di.config.base.BaseConfigurationImpl |
|---|
NAME |
| Fields inherited from interface com.ibm.di.config.interfaces.BaseConfiguration |
|---|
CHILD_PATH_SEPARATOR, DISABLE_EXTPROPS, DISABLE_INHERITANCE, INHERIT_NONE, INHERIT_PARENT, ONE_LEVEL, RECURSIVE, RECURSIVE_ONELEVEL, RECURSIVE_SUBTREE, SEARCH_EXACTCASE, SEARCH_ONELEVEL, SEARCH_PARAMNAME, SEARCH_PARAMNAME_RE, SEARCH_PROPERTY, SEARCH_REGEX, SEARCH_SUBSTRING, SUBTREE |
| Constructor Summary | |
|---|---|
ReconnectConfigImpl()
|
|
ReconnectConfigImpl(Object config)
|
|
| Method Summary | |
|---|---|
boolean |
getAutoReconnect()
|
boolean |
getAutoSkipForward()
Should we automatically skip forward after a Reconnect. |
Object |
getClone()
Return self clone |
int |
getDelay()
Delay between retries (in seconds) |
boolean |
getInitReconnect()
|
ContainerConfig |
getReconnectRules()
|
int |
getRetries()
Number of retries |
void |
init()
Called after internal data structure is set. |
ReconnectRuleConfig |
newReconnectRule()
Create a new reconnect rule and add it to the internal container. |
void |
removeParameterValues()
Remove all parameter values, to prepare for inheritance |
void |
setAutoSkipForwardUnlessAlreadySet(Object value)
Set the value of autoSkipForward, unless it is already set to a value. |
void |
setInheritsFrom(BaseConfiguration inheritFrom)
We override this method to change the inherited object if we inherit from a connector. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String AUTO_RECONNECT
public static final String INIT_RECONNECT
public static final String NUMBER_OF_RETRIES
public static final String RETRY_DELAY
public static final String SKIP_FORWARD
| Constructor Detail |
|---|
public ReconnectConfigImpl()
public ReconnectConfigImpl(Object config)
| Method Detail |
|---|
public void init()
throws Exception
init in interface BaseConfigurationinit in class BaseConfigurationImplException - if the initialization fails.public void setInheritsFrom(BaseConfiguration inheritFrom)
setInheritsFrom in interface BaseConfigurationsetInheritsFrom in class BaseConfigurationImplinheritFrom - The new inheritsFrom value.
public Object getClone()
throws Exception
getClone in interface BaseConfigurationgetClone in class BaseConfigurationImplExceptionpublic boolean getAutoReconnect()
getAutoReconnect in interface ReconnectConfigpublic boolean getInitReconnect()
getInitReconnect in interface ReconnectConfigpublic int getRetries()
ReconnectConfig
getRetries in interface ReconnectConfigpublic int getDelay()
ReconnectConfig
getDelay in interface ReconnectConfigpublic boolean getAutoSkipForward()
ReconnectConfig
getAutoSkipForward in interface ReconnectConfigpublic void setAutoSkipForwardUnlessAlreadySet(Object value)
ReconnectConfig
setAutoSkipForwardUnlessAlreadySet in interface ReconnectConfigvalue - The new valuepublic void removeParameterValues()
ReconnectConfig
removeParameterValues in interface ReconnectConfigpublic ContainerConfig getReconnectRules()
getReconnectRules in interface ReconnectConfig
public ReconnectRuleConfig newReconnectRule()
throws Exception
newReconnectRule in interface ReconnectConfigException - A problem while creating the rule.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||