public interface DafConfigurationsMBean
extends oracle.ocsg.daf.store.DenyCodeMappingsOperations
Modifier and Type | Field and Description |
---|---|
static int |
callOutRetryTimes
Defines the retry times when failed to call on south bound service.
|
static int |
connectTimeoutMs
Defines the connection time out value in Milliseconds.
|
static boolean |
continueResponseCallFlow
Continues or breaks the response action call flow when OCSG does not
get the response from the south bound services.
|
static boolean |
enableSouthCookie
If true, allows applications to communicate with backend
servers using cookies.
|
static String |
installerVersion
Defines the OCSG version information currently installed.
|
static boolean |
keepNorthSession
If true, keeps the session open after the request is complete.
|
static int |
maxTotalConnections
Sets the maximum total allowed network connections.
|
static boolean |
reuseAddress
If true, allows Services Gatekeeper to make use of the normally
unused extra time that TCP reserves before closing sockets (the time_wait state)
The default value is true.
|
static int |
sendSouthConnCloseThreshold
Sets the threshold size in byte of the request payload which is sent to the
south bound services.
|
static boolean |
sendSouthConnectionCloseHeader
Sends the connection close header to the south bound services or not.
|
static int |
SLAValidationErrorCode
Defines which HTTP status code to use for SLA violations.
|
static String |
SLAValidationErrorMessage
Defines which message to include in HTTP response in the event of SLA violation.
|
static int |
socketTimeoutMs
Defines the socket time out value in Milliseconds.
|
static String |
southBoundChunkedSetting
Defines whether to use the "trunked" way to send request to the
backend servers or not.
|
static boolean |
useSession
If true, allows an application to use a
session when communicating with backend servers
The default value is false.
|
Modifier and Type | Method and Description |
---|---|
int |
getCallOutRetryTimes()
Gets the retry times when failed to call on south bound service.
|
int |
getConnectTimeoutMs()
Get configured performance parameter connectTimeoutMs.
|
boolean |
getEnableSouthCookie()
Get configured performance parameter enableSouthCookie.
|
String |
getInstallerVersion()
Get current installer version.
|
boolean |
getKeepNorthSession()
Get configured performance parameter keepNorthSession.
|
int |
getMaxTotalConnections()
Get configured performance parameter maxTotalConnections.
|
boolean |
getReuseAddress()
Get configured performance parameter reuseAddress.
|
int |
getSendSouthConnCloseThreshold()
Gets the sendSouthConnCloseThreshold value.
|
int |
getSLAValidationErrorCode()
Override the default HTTP response message to use for SLA validation errors.
|
String |
getSLAValidationErrorMessage()
Override the default HTTP response message to use for SLA validation errors.
|
int |
getSocketTimeoutMs()
Get configured performance parameter socketTimeoutMs.
|
String |
getSouthBoundChunkedSetting()
Return the configured southBoundChunkedSetting.
|
boolean |
getUseSession()
Get configured performance parameter useSession.
|
boolean |
isContinueResponseCallFlow()
Gets continueResponseCallflow value.
|
boolean |
isSendSouthConnectionCloseHeader()
Gets the sendSouthConnectionCloseHeader value.
|
String |
retrieveAvailableDafCSConfigurations()
Get the configurations of deployed and enabled communication services.
|
String |
retrieveBlackMethodList()
Retrieve the black method list.
|
String |
retrieveBlackPackageList()
Retrieve the black package list.
|
String |
retrieveDafCSConfigurations()
Get the configurations of communication services.
|
Map<String,List<String>> |
retrieveListAll()
Get all of the black and white list.
|
Map<String,String> |
retrievePerformanceSets()
Get all of the performance settings.
|
String |
retrieveWhiteMethodList()
Retrieve the white method list.
|
String |
retrieveWhitePackageList()
Retrieve the white package list.
|
void |
setCallOutRetryTimes(int callOutRetryTimes)
Sets the retry times when failed to call on south bound service.
|
void |
setConnectTimeoutMs(int connectTimeoutMs)
Set configured performance parameter connectTimeoutMs.
|
void |
setContinueResponseCallFlow(boolean value)
Sets break or not break the response action call flow when OCSG does not
get the response from the southbound services.
|
void |
setEnableSouthCookie(boolean enableSouthCookie)
Set configured performance parameter enableSouthCookie.
|
void |
setKeepNorthSession(boolean keepNorthSession)
Set configured performance parameter keepNorthSession.
|
void |
setMaxTotalConnections(int maxTotalConnections)
Set configured performance parameter maxTotalConnections.
|
void |
setReuseAddress(boolean reuseAddress)
Set configured performance parameter reuseAddress.
|
void |
setSendSouthConnCloseThreshold(int value)
Sets the sendSouthConnCloseThreshold value.
|
void |
setSendSouthConnectionCloseHeader(boolean value)
Sets the sendSouthConnectionCloseHeader value.
|
void |
setSLAValidationErrorCode(int code)
Override the default HTTP status code to use for SLA validation errors.
|
void |
setSLAValidationErrorMessage(String message)
Override the default HTTP body in error response when SLA is violated.
|
void |
setSocketTimeoutMs(int socketTimeoutMs)
Set configured performance parameter socketTimeoutMs.
|
void |
setSouthBoundChunkedSetting(String value)
Set the southBoundChunkedSetting configuration.
|
void |
setUseSession(boolean useSession)
Set configured performance parameter useSession.
|
String |
updateBlackMethodList(String blackMethodList)
Update the black method list.
|
String |
updateBlackPackageList(String blackPackageList)
Update the black package list.
|
void |
updateDafCSConfigurations(String configurations)
Set the configurations of communication services.
|
String |
updateWhiteMethodList(String whiteMethodList)
Update the white method list.
|
String |
updateWhitePackageList(String whitePackageList)
Update the white package list.
|
static final boolean keepNorthSession
Scope: Cluster
static final boolean reuseAddress
Scope: Cluster
static final boolean useSession
Scope: Cluster
static final boolean enableSouthCookie
Scope: Cluster
static final String southBoundChunkedSetting
Scope: Cluster
static final boolean continueResponseCallFlow
Scope: Cluster
static final boolean sendSouthConnectionCloseHeader
Scope: Cluster
static final int sendSouthConnCloseThreshold
Scope: Cluster
static final int maxTotalConnections
Scope: Cluster
static final int socketTimeoutMs
Scope: Cluster
static final int connectTimeoutMs
Scope: Cluster
static final int callOutRetryTimes
Scope: Cluster
static final int SLAValidationErrorCode
Scope: Cluster
static final String SLAValidationErrorMessage
Scope: Cluster
static final String installerVersion
Scope: Cluster
boolean getKeepNorthSession() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.void setKeepNorthSession(boolean keepNorthSession) throws com.bea.wlcp.wlng.api.management.ManagementException
keepNorthSession
- - keepNorthSession.com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.boolean getReuseAddress() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.void setReuseAddress(boolean reuseAddress) throws com.bea.wlcp.wlng.api.management.ManagementException
reuseAddress
- - reuseAddress.com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.boolean getUseSession() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.void setUseSession(boolean useSession) throws com.bea.wlcp.wlng.api.management.ManagementException
useSession
- - useSession.com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.boolean getEnableSouthCookie() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- - b.void setEnableSouthCookie(boolean enableSouthCookie) throws com.bea.wlcp.wlng.api.management.ManagementException
enableSouthCookie
- - enableSouthCookie.com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.String getSouthBoundChunkedSetting() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- If southBoundChunkedSetting could not be fetched from storage.void setSouthBoundChunkedSetting(String value) throws com.bea.wlcp.wlng.api.management.ManagementException
value
- - the southBoundChunkedSetting to be set.com.bea.wlcp.wlng.api.management.ManagementException
- If southBoundChunkedSetting could not be saved or invalid.void setContinueResponseCallFlow(boolean value) throws com.bea.wlcp.wlng.api.management.ManagementException
value
- True, continue; False: break.com.bea.wlcp.wlng.api.management.ManagementException
- If continueResponseCallflow could not be saved or invalid.boolean isContinueResponseCallFlow()
void setSendSouthConnectionCloseHeader(boolean value) throws com.bea.wlcp.wlng.api.management.ManagementException
value
- true or false.com.bea.wlcp.wlng.api.management.ManagementException
- If sendSthConnectionCloseHeader could not be saved or invalid.boolean isSendSouthConnectionCloseHeader()
void setSendSouthConnCloseThreshold(int value) throws com.bea.wlcp.wlng.api.management.ManagementException
value
- True, send it; False: not send.com.bea.wlcp.wlng.api.management.ManagementException
- If sendSouthConnCloseThreshold could not be saved or invalid.int getSendSouthConnCloseThreshold()
int getMaxTotalConnections() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.void setMaxTotalConnections(int maxTotalConnections) throws com.bea.wlcp.wlng.api.management.ManagementException
maxTotalConnections
- - maxTotalConnections.com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.int getSocketTimeoutMs() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.void setSocketTimeoutMs(int socketTimeoutMs) throws com.bea.wlcp.wlng.api.management.ManagementException
socketTimeoutMs
- - socketTimeoutMs.com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.int getConnectTimeoutMs() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.void setConnectTimeoutMs(int connectTimeoutMs) throws com.bea.wlcp.wlng.api.management.ManagementException
connectTimeoutMs
- - connectTimeoutMs.com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.int getCallOutRetryTimes() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.void setCallOutRetryTimes(int callOutRetryTimes) throws com.bea.wlcp.wlng.api.management.ManagementException
callOutRetryTimes
- The retry times.com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.int getSLAValidationErrorCode() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- If error code could not be fetched.void setSLAValidationErrorCode(int code) throws com.bea.wlcp.wlng.api.management.ManagementException
code
- HTTP error code, eg 401. Use -1 to reset to default error codes.com.bea.wlcp.wlng.api.management.ManagementException
- If error code could not be saved.String getSLAValidationErrorMessage() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- If error code could not be fetched from storage.void setSLAValidationErrorMessage(String message) throws com.bea.wlcp.wlng.api.management.ManagementException
message
- HTTP message to send in HTTP response, or empty String to reset to default error messages.com.bea.wlcp.wlng.api.management.ManagementException
- If error message could not be saved.String getInstallerVersion()
String updateBlackMethodList(String blackMethodList) throws com.bea.wlcp.wlng.api.management.ManagementException
blackMethodList
- - The black list method separated by semicolon.com.bea.wlcp.wlng.api.management.ManagementException
- - If update failed.String updateBlackPackageList(String blackPackageList) throws com.bea.wlcp.wlng.api.management.ManagementException
blackPackageList
- - The black package list separated by semicolon.com.bea.wlcp.wlng.api.management.ManagementException
- - If update failed.String updateWhiteMethodList(String whiteMethodList) throws com.bea.wlcp.wlng.api.management.ManagementException
whiteMethodList
- - The white method list separated by semicolon.com.bea.wlcp.wlng.api.management.ManagementException
- - If update failed.String updateWhitePackageList(String whitePackageList) throws com.bea.wlcp.wlng.api.management.ManagementException
whitePackageList
- - The white package list separated by semicolon.com.bea.wlcp.wlng.api.management.ManagementException
- - If update failed.String retrieveWhiteMethodList() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- - If retrieving failed.String retrieveWhitePackageList() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- - If retrieving failed.String retrieveBlackMethodList() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- - If retrieving failed.String retrieveBlackPackageList() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- - If retrieving failed.@Internal Map<String,List<String>> retrieveListAll() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.@Internal Map<String,String> retrievePerformanceSets() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- - Exception will be thrown if fails.@Internal String retrieveAvailableDafCSConfigurations() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- .String retrieveDafCSConfigurations() throws com.bea.wlcp.wlng.api.management.ManagementException
com.bea.wlcp.wlng.api.management.ManagementException
- .void updateDafCSConfigurations(String configurations) throws com.bea.wlcp.wlng.api.management.ManagementException
configurations
- the configurations of communication services.com.bea.wlcp.wlng.api.management.ManagementException
- .