|
|||||||||||
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 java.lang.String |
AUTO_RECONNECT
|
static java.lang.String |
INIT_RECONNECT
|
static java.lang.String |
NUMBER_OF_RETRIES
|
static java.lang.String |
RETRY_DELAY
|
static java.lang.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(java.lang.Object config)
|
Method Summary | |
---|---|
boolean |
getAutoReconnect()
|
boolean |
getAutoSkipForward()
Should we automatically skip forward after a Reconnect. |
java.lang.Object |
getClone()
Return self clone |
int |
getDelay()
Delay between retries (in seconds) |
int |
getFailbackAfter()
|
java.lang.String |
getFailoverConnectorName()
|
boolean |
getFailoverOption()
|
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(java.lang.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 java.lang.String AUTO_RECONNECT
public static final java.lang.String INIT_RECONNECT
public static final java.lang.String NUMBER_OF_RETRIES
public static final java.lang.String RETRY_DELAY
public static final java.lang.String SKIP_FORWARD
Constructor Detail |
---|
public ReconnectConfigImpl()
public ReconnectConfigImpl(java.lang.Object config)
Method Detail |
---|
public void init() throws java.lang.Exception
init
in interface BaseConfiguration
init
in class BaseConfigurationImpl
java.lang.Exception
- if the initialization fails.public void setInheritsFrom(BaseConfiguration inheritFrom)
setInheritsFrom
in interface BaseConfiguration
setInheritsFrom
in class BaseConfigurationImpl
inheritFrom
- The new inheritsFrom value.public java.lang.Object getClone() throws java.lang.Exception
getClone
in interface BaseConfiguration
getClone
in class BaseConfigurationImpl
java.lang.Exception
public boolean getAutoReconnect()
getAutoReconnect
in interface ReconnectConfig
public boolean getInitReconnect()
getInitReconnect
in interface ReconnectConfig
public int getRetries()
ReconnectConfig
getRetries
in interface ReconnectConfig
public int getDelay()
ReconnectConfig
getDelay
in interface ReconnectConfig
public boolean getAutoSkipForward()
ReconnectConfig
getAutoSkipForward
in interface ReconnectConfig
public void setAutoSkipForwardUnlessAlreadySet(java.lang.Object value)
ReconnectConfig
setAutoSkipForwardUnlessAlreadySet
in interface ReconnectConfig
value
- The new valuepublic void removeParameterValues()
ReconnectConfig
removeParameterValues
in interface ReconnectConfig
public ContainerConfig getReconnectRules()
getReconnectRules
in interface ReconnectConfig
public ReconnectRuleConfig newReconnectRule() throws java.lang.Exception
newReconnectRule
in interface ReconnectConfig
java.lang.Exception
- A problem while creating the rule.public int getFailbackAfter()
getFailbackAfter
in interface ReconnectConfig
public java.lang.String getFailoverConnectorName()
getFailoverConnectorName
in interface ReconnectConfig
public boolean getFailoverOption()
getFailoverOption
in interface ReconnectConfig
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |