Package com.ptc.windchill.sync.wpsync
Class DefaultPackageExportQueueDelegate
java.lang.Object
com.ptc.windchill.sync.wpsync.DefaultPackageExportQueueDelegate
- All Implemented Interfaces:
PackageExportQueueDelegate
- Direct Known Subclasses:
FBRPackageExportQueueDelegate
Default implementation of
PackageExportQueueDelegate for managing multiple export queues for package export
background jobs.
This delegate provides the following default implementation:
createQueues to create the processing queues as specified by the property
com.ptc.windchill.wp.delivery.export.numExportQueues to be utilized for processing package export tasks in
background.
getQueueName to return the least busy queue to place the package export task on for the Delivery Record
instance, and if multiple queues are found to be equally selectable (e.g. all queues are empty), the lowest numbered
queue will be selected (e.g. "PackageExportQueue1" will be selected before "PackageExportQueue2").
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionReturns the least busy queue to place the package export task on for the Delivery Record instance, and if multiple queues are found to be equally selectable (e.g.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ptc.windchill.sync.wpsync.PackageExportQueueDelegate
getExportRecord, setExportRecord
-
Method Details
-
getQueueName
Returns the least busy queue to place the package export task on for the Delivery Record instance, and if multiple queues are found to be equally selectable (e.g. all queues are empty), the lowest numbered queue will be selected (e.g. "PackageExportQueue1" will be selected before "PackageExportQueue2"). Supported API: true- Specified by:
getQueueNamein interfacePackageExportQueueDelegate- Returns:
- name of queue which would be preferred for assigning export package task to.
- Throws:
WTException
-