Package gda.commandqueue
Interface Queue
- All Superinterfaces:
gda.observable.IObservable
- All Known Subinterfaces:
IFindableQueueProcessor
- All Known Implementing Classes:
CommandQueue,FindableProcessorQueue
public interface Queue
extends gda.observable.IObservable
Queue is used to handle a queue of Command objects
As well as typical Queue methods such as addToTail,
removeHead there are methods to move items around within the
Queue referenced by unique CommandIds.
Objects that implement QueueListener can register for events on the queue
using the addQueueListener method.
-
Method Summary
Modifier and TypeMethodDescriptionaddToTail(CommandProvider provider) voidmoveToBefore(CommandId id, Collection<CommandId> cmdIds) voidmoveToHead(Collection<CommandId> cmdIds) voidmoveToTail(Collection<CommandId> cmdIds) voidremove(Collection<CommandId> cmdIds) voidvoidsetCommandDetails(CommandId id, String details) Methods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Method Details
-
addToTail
- Throws:
Exception
-
addToTail
- Throws:
Exception
-
removeHead
- Throws:
Exception
-
remove
- Throws:
Exception
-
remove
- Throws:
Exception
-
removeAll
- Throws:
Exception
-
getSummaryList
- Throws:
Exception
-
moveToHead
- Throws:
Exception
-
moveToTail
- Throws:
Exception
-
moveToBefore
- Throws:
Exception
-
replace
- Throws:
Exception
-
getCommandDetails
- Throws:
Exception
-
setCommandDetails
- Throws:
Exception
-
getCommandSummary
- Throws:
Exception
-
getRemovedHeadID
CommandId getRemovedHeadID()
-