Class TransferQueueManager
The main function of MirroringQueueExecuterManager class is manage the queue item (MirroringTransferData) and
if the item is bigger than chunksize divide them in small packages and forwarding to the Client (IMirroringDataTransfer).
It has a private queue which the owner can send action item for executing.
There are three type of action
1- Initialize action tells to Client a miiroring job is initialized
2- SendPackage action sends the Mirroring job to server
3- Complete action tells to Client the mirroring job is complete
4- Clean up action clean up queue and wait to client is back from server call
All actions are stored in a private queue and the menager executes them one after one.
This class chunked the transfer data if the data is bigger the chunksize and send them in small packet the client.
Inheritance
System.Object
TransferQueueManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: EPiServer.Enterprise.dll
Version: 8.11.0
Syntax
public class TransferQueueManager
Constructors
TransferQueueManager(IMirroringDataTransfer)
Declaration
public TransferQueueManager(IMirroringDataTransfer client)
Parameters
TransferQueueManager(IMirroringDataTransfer, Int32)
Declaration
public TransferQueueManager(IMirroringDataTransfer client, int chunckSize)
Parameters
Methods
AddToQueue(MirroringQueueData<TransferQueueManager.TypeOfTransferAction>)
Declaration
public void AddToQueue(MirroringQueueData<TransferQueueManager.TypeOfTransferAction> mirroingQueueItem)
Parameters
Cleanup(Guid, MirroringStatus)
Declaration
public void Cleanup(Guid contextId, MirroringStatus mirroringStatus)
Parameters
Type |
Name |
Description |
System.Guid |
contextId |
|
MirroringStatus |
mirroringStatus |
|
Events
MirroingStatusEvent
Declaration
public event EventHandler<MirroringStatusEventArgs> MirroingStatusEvent
Event Type
Extension Methods