public interface PriorityMgrIfc
| Modifier and Type | Method and Description |
|---|---|
void |
add(TransferJob job)
Adds the TransferJob into the system
|
boolean |
bumpPriority(java.lang.String path)
Bumps the priority of a given file
|
void |
clear()
Clears all existing data from the priority manager
|
void |
remove(TransferJob job)
Removes the transfer job from the implementation
|
java.util.List<unlimited.core.util.common.tuples.Pair<java.lang.String,TransferJobPriority>> |
search(java.lang.String filter,
int limit)
Searches through the PriorityManager list and returns the files and priorities that match the request
|
void |
swap(TransferJob from,
TransferJob to)
Swaps the details of two TransferJobs
|
void remove(TransferJob job)
job - void clear()
void add(TransferJob job)
job - void swap(TransferJob from, TransferJob to)
from - to - boolean bumpPriority(java.lang.String path)
path - java.util.List<unlimited.core.util.common.tuples.Pair<java.lang.String,TransferJobPriority>> search(java.lang.String filter, int limit)
filter - Filter to search bylimit - Limit for the files to returnCopyright © 2006 - 2022 - HelpSystems LLC All Rights Reserved.