This class provides a set of constants to specify values for:
- Configuring connections to the IBM FileNet P8 domain.
- Specifying client metadata cache (CMC) configuration options.
This class includes support for parsing configuration values. Comparisons and lookups are case-insensitive, so the case of string key equivalents is not significant.
This class also includes an array of valid types, such as {
,
}, to assist you in parsing and validating parameter values. The list is
if not applicable, or is dependent on the context of where the parameter is used. A non-null list always has a length of at least one.
To set parameter values, create an instance of
, call
, passing in the desired parameter values, and then call
. The code snippet below sets the block size for retrieving content:
![]() | |
---|---|
ConfigurationParameters parameters = new ConfigurationParameters(); Object value = new Integer(64); parameters.SetParameter(ConfigurationParameter.CONTENT_GET_BLOCK_SIZE_KB, value); Configuration.Init(parameters); |
Namespace: FileNet.Api.Constants
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Enum ConfigurationParameter |
C# |
---|
public enum ConfigurationParameter |
C++ |
---|
public enum class ConfigurationParameter |
J# |
---|
public enum ConfigurationParameter |
JScript |
---|
public enum ConfigurationParameter |
Members
Description | |||
---|---|---|---|
CONNECTION_PARTICIPATES_IN_TRANSACTION | A constant representing a instance of type . Setting this value is not supported. Since the .NET API always uses Content Engine web services connections, transactions are never propagated when using the .NET API. For more information about client-initiated transactions, see Getting Started in the Content Engine Java and .NET API Developer's Guide. | ||
CONNECTION_CLIENT_METADATA_CACHE | A constant representing a instance of type
This configuration parameter specifies whether to use caching for operations with the given connection. The default is | ||
CMC_ENABLED | A constant representing a instance of type . The default is
| ||
CMC_TIME_TO_LIVE | A constant representing a instance of type . The Time-To-Live (TTL) value is specified in milliseconds; the default is 10 hours. Items are removed from the cache when their TTL expires.
| ||
CONNECTION_FULL_WSSPEC_HEADERS | A constant representing a instance of type . This member accepts a boolean value, and controls whether or not the client sends certain SOAP WS-Security and WS-Addressing header elements that ordinarily the Content Engine server does not require. If the value is | ||
CONTENT_MAX_UPLOAD_THREADS | A constant representing a instance of type . This value is the maximum number of threads per document that can be used to upload content to the Content Engine server. The default value is 3. | ||
CONTENT_PUT_BLOCK_SIZE_KB | A constant representing a instance of type . This value is the size of the buffer used for each | ||
CONTENT_GET_BLOCK_SIZE_KB | A constant representing a instance of type . This value is the number of bytes to get from the Content Engine server on each As an example, if this value is set to 64, then 64*1024 bytes of content are requested from the Content Engine server for each | ||
WSI_TRANSPORT_CONNECTION_TIMEOUT | A constant representing a instance of type . This value determines the amount of time allowed before a connection timeout occurs when using the web services transport of the API. There is no default for this setting. If not set, there will be no timeout; that is, an infinite amount of time is allowed for the API call to complete. |