Package com.documentum.operations
Interface IDfPredictiveCachingOperation
- All Superinterfaces:
IDfOperation
The predictive caching operation generates content pre-caching BOCS URLs
and sends URLs to BOCS.
Compound documents cannot be referenced using ACS/BOCS URLs, so no URLs
will be generated for compound documents.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final long
static final long
static final long
static final long
Fields inherited from interface com.documentum.operations.IDfOperation
GENERATE_RESOURCE_FORK, IGNORE_RESOURCE_FORK, REQUIRE_RESOURCE_FORK, RESOURCE_FORK_UNDEFINED, USE_RESOURCE_FORK_IF_AVAILABLE
-
Method Summary
Modifier and TypeMethodDescriptionReturns theIDfAcsTransferPreferences
object to be used.long
Returns minimum content size, in bytes.Returns a list of the network location identifiers to be used for content pre-caching.Returns the list of unique objects in this operation.long
BOCS attempts to pre-cache the content until a specified delay after successful execution of the operation.void
setAcsTransferPreferences
(IDfAcsTransferPreferences acsTransferPreferences) Sets theIDfAcsTransferPreferences
object to be used.void
setMinimumContentSize
(long size) Sets minimum content size, in bytes.void
setNetworkLocationIds
(IDfList networkLocationIds) Sets the list of the network location identifiers to be used for content pre-caching.void
setTimeToLive
(long timeToLive) BOCS attempts to pre-cache the content until specified delay after successful execution of the operation.void
useApplicationSupportDocuments
(boolean useAppSuppDocs) If you do not want to pre-cache any of the documents in the Application Support Documents set this tofalse
.Methods inherited from interface com.documentum.operations.IDfOperation
abort, add, areDisabledRegistryUpdates, canUndo, disableRegistryUpdates, enablePopulateWithReferences, execute, getContext, getDescription, getErrors, getName, getNodes, getOperationMonitor, getOperationType, getProperties, getRootNodes, getSession, getSteps, isAborted, isEnabledPopulateWithReferences, logError, removeNode, reportError, resetErrors, setOperationMonitor, setSession, succeeded
-
Field Details
-
SECOND
static final long SECOND- See Also:
-
MINUTE
static final long MINUTE- See Also:
-
HOUR
static final long HOUR- See Also:
-
DAY
static final long DAY- See Also:
-
WEEK
static final long WEEK- See Also:
-
-
Method Details
-
getObjects
Returns the list of unique objects in this operation. Each entry in the list is an IDfSysObject.- Returns:
- returns the list of unique objects in this operation
- Throws:
DfException
- if a server error occurs.- See Also:
-
useApplicationSupportDocuments
void useApplicationSupportDocuments(boolean useAppSuppDocs) If you do not want to pre-cache any of the documents in the Application Support Documents set this tofalse
. The default value istrue
.- Parameters:
useAppSuppDocs
- iffalse
, the documents in Application Support Documents folder will not be pre-cacheed.
-
getMinimumContentSize
long getMinimumContentSize()Returns minimum content size, in bytes. If content size is smaller than provided parameter value, content is not processed.- Returns:
- minimum content size, in bytes
-
setMinimumContentSize
void setMinimumContentSize(long size) Sets minimum content size, in bytes. If content size is smaller than provided parameter value, content is not processed.- Parameters:
size
- minimum content size, in bytes
-
getNetworkLocationIds
Returns a list of the network location identifiers to be used for content pre-caching. All BOCS for specified network locations attempt to pre-cache the content.- Returns:
- list of client network location identifiers.
- Throws:
DfException
- if a server error occurs
-
setNetworkLocationIds
Sets the list of the network location identifiers to be used for content pre-caching. All BOCS for specified network locations attempt to pre-cache the content.- Parameters:
networkLocationIds
- list of the network location identifiers to be used for content pre-caching- Throws:
DfException
- if a server error occurs
-
getTimeToLive
long getTimeToLive()BOCS attempts to pre-cache the content until a specified delay after successful execution of the operation.- Returns:
- time to live in milliseconds; default value is one week.
-
setTimeToLive
void setTimeToLive(long timeToLive) BOCS attempts to pre-cache the content until specified delay after successful execution of the operation.- Parameters:
timeToLive
- time to live in milliseconds
-
getAcsTransferPreferences
IDfAcsTransferPreferences getAcsTransferPreferences()Returns theIDfAcsTransferPreferences
object to be used.- Returns:
IDfAcsTransferPreferences
object to be used
-
setAcsTransferPreferences
Sets theIDfAcsTransferPreferences
object to be used.- Parameters:
acsTransferPreferences
-IDfAcsTransferPreferences
object to be used
-