Class RepositoryPartitionFile
Repository File with Partition Hint.
Namespace: OpenText.Fusion.AdapterSdk.Api
Assembly: OpenText.Fusion.AdapterSdk.Api.dll
Syntax
public class RepositoryPartitionFile : RepositoryFile, IRepositoryPartitionFile, IRepositoryFile
Constructors
RepositoryPartitionFile(String, String, IFileMetadata)
Initializes a new instance of the RepositoryPartitionFile class.
Declaration
public RepositoryPartitionFile(string fileId, string partitionHint, IFileMetadata metadata)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileId | The file identifier. |
System.String | partitionHint | The partition hint. |
IFileMetadata | metadata | The file metadata. |
See Also
Properties
PartitionHint
Gets or sets the partition hint.
Declaration
public string? PartitionHint { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> | The partition hint. |
Remarks
PartitionHint is used to distribute work across adapters or threads. Files with different partition hints can be distributed to separate adapters.
PartitionHint is only set during the file list retrieval (RetrieveFileListAsync(RetrieveFileListRequest, IFileListResultsHandler, CancellationToken) method).