Package oracle.as.scheduler.request
Class ContentHandle
java.lang.Object
oracle.as.scheduler.request.ContentHandle
- All Implemented Interfaces:
Serializable
Handle for retrieving content from the ESS content store,
and for importing content in case of manual recovery.
A handle can be used for either read or write but not both.
This handle supports retrieving units of content so that each get starts where the previous get left off.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumOptions for opening content. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EnumSet<ContentHandle.ContentOpenOptions>Enum set ofContentOpenOptionsfor read.static final EnumSet<ContentHandle.ContentOpenOptions>Enum set ofContentOpenOptionsfor write. -
Method Summary
-
Field Details
-
CONTENT_OPEN_READ
Enum set ofContentOpenOptionsfor read. This set contains [Read]. -
CONTENT_OPEN_WRITE
Enum set ofContentOpenOptionsfor write. This set contains [Write].
-
-
Method Details
-
getId
Gets the handle id.- Returns:
- associated handle ID
-
getRequestId
public long getRequestId()Gets the request id.- Returns:
- associated request ID
-
isWritable
public boolean isWritable()Indicates if the handle is open for write. Iftrueis returned the handle is open for write so the content can be written instead of read.- Returns:
trueif the handle is open for write, orfalseotherwise.
-
getContentCategory
Gets the content category.- Returns:
- Content category.
-
toString
-