public abstract class AbstractCachedOAuthConfig extends AbstractOAuthConfig
Modifier and Type | Field and Description |
---|---|
protected long |
initialDelay
Specify the time in seconds the connector will wait before executing the first keep-alive request
|
protected long |
keepAliveRequestFrequency
Specifies the time in seconds the connector will wait between two successive requests
|
protected boolean |
useKeepAlive
If set to true then the session will not expire and the connector will execute a simple request to mantain the session.
|
COULD_NOT_EXTRACT_FIELD
RECOMMENDED_API_VERSION
Constructor and Description |
---|
AbstractCachedOAuthConfig() |
Modifier and Type | Method and Description |
---|---|
long |
getInitialDelay() |
long |
getKeepAliveRequestFrequency() |
boolean |
getUseKeepAlive() |
void |
setInitialDelay(long initialDelay) |
void |
setKeepAliveRequestFrequency(long keepAliveRequestFrequency) |
void |
setUseKeepAlive(boolean useKeepAlive) |
protected void |
startKeepAliveFeature(com.sforce.soap.partner.PartnerConnection partnerConnection) |
getApiVersion, getOAuth2AccessToken, getOAuth2instanceId, getSessionId, partnerConnection, postAuthorization, setApiVersion, setOAuth2AccessToken, setOAuth2instanceId
computeBaseUrl, destroySession, getAllowFieldTruncationSupport, getApexClassNames, getApexClient, getAssignmentRuleId, getBatchSobjectMaxDepth, getBulkConnection, getClearNullFields, getClientId, getConnectionTimeout, getFetchAllApexRestMetadata, getFetchAllApexSoapMetadata, getMetadataConnection, getMuleContext, getPartnerConnection, getProxyHost, getProxyPassword, getProxyPort, getProxyPortAsInteger, getProxyUsername, getPushEventRestClient, getReadTimeout, getTimeObjectStore, getUrls, getUseDefaultRule, getUsername, initConnectionConfig, isConnected, isDisableSessionInvalidationActive, logoutPartnerConnection, setAllowFieldTruncationSupport, setApexClassNames, setAssignmentRuleId, setBatchSobjectMaxDepth, setClearNullFields, setClientId, setConnectionOptions, setConnectionTimeout, setFetchAllApexRestMetadata, setFetchAllApexSoapMetadata, setMuleContext, setPartnerConnection, setProxyHost, setProxyPassword, setProxyPort, setProxyUsername, setReadTimeout, setTimeObjectStore, setUseDefaultRule, setUsername, subscribe, validateApexClassesConfiguration, validateCurrentSession, validatePartnerConnection, validateProxyConfiguration, verifyApiVersion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
recreateSession
@Configurable @Placement(group="Keep-Alive") @Default(value="false") @FriendlyName(value="Use keep alive") protected boolean useKeepAlive
@Configurable @Placement(group="Keep-Alive") @Default(value="0") @FriendlyName(value="Initial delay") protected long initialDelay
@Configurable @Placement(group="Keep-Alive") @Default(value="320") @FriendlyName(value="Keep-Alive request frequency") protected long keepAliveRequestFrequency
protected void startKeepAliveFeature(com.sforce.soap.partner.PartnerConnection partnerConnection)
public boolean getUseKeepAlive()
public void setUseKeepAlive(boolean useKeepAlive)
public long getInitialDelay()
public void setInitialDelay(long initialDelay)
public long getKeepAliveRequestFrequency()
public void setKeepAliveRequestFrequency(long keepAliveRequestFrequency)
Copyright © 2010–2020. All rights reserved.