Class OperationsQueue

All Implemented Interfaces:
Serializable, Iterable<OperationRepresentation>, Collection<OperationRepresentation>, BlockingQueue<OperationRepresentation>, Queue<OperationRepresentation>

public class OperationsQueue extends LinkedBlockingQueue<OperationRepresentation>
This queue is handling operations to be processed. It's based on LinkedBlockingQueue implementation, but it assures that all operations are unique (unique means all operations in queue have unique ids). Every time new operation is added to queue, it is checked that operation with the same id doesn't exists in queue (if it does, new item is not queued).
See Also: