A queue is an ordered, first-in-first-out data structure. Typical implementations of queues support pushing elements to the back and popping them off the front position.
0
votes
0answers
3 views
Dequeue iterator is not derefrencable
my basic visual c++ program opens a shared memory which has a queue of void pointer. Then I create 5 integers dynamically and put their addresses to queue. After each insert I print the size of queue ...
1
vote
3answers
42 views
Java Queue Implementation
I am new to Java and trying to use:
public static ArrayBlockingQueue<String> qu=new ArrayBlockingQueue<>(900);
...
qu.enqueue(MyString);
or
public static Queue<String> qu=new ...
0
votes
1answer
20 views
Queue multiple jquery animation
Did someone try to manage common animation queue?
I want to get something like producer/consumer in back-end programming, so that any event triggering some animation could add it's piece of needed ...
0
votes
2answers
46 views
Java's LinkedList vs. Scala's DoubleLinkedList
In a Scala project, I need a simple, mutable queue data structure where I can append items on one end and take out items on the other (i.e. FIFO). Now, I'm not sure whether I should use the plain old ...
0
votes
0answers
7 views
Is SugerCRM's build in JobsQueue suitable for syncing?
Using this blog entry as starting point we write custom jobs for the jobs queue. Adding a job works fine, and after running rebuild & repair the scheduledtasks.ext.php gets created and the job ...
0
votes
0answers
13 views
Jquery functions not running with each other
So I have some buttons that I flip with CSS transitions. I created a jquery queue to flip the div, then flip it back over. And the plan was to create a function for each button, and then just throw ...
1
vote
0answers
29 views
Chaining animations smoothly for several elements in jQuery
I'm trying to recreate a map's zoom-in effect by animating sequentially several stacked images using jQuery, for cross-domain purposes.
I achieved something so far, by queueing the animations using ...
1
vote
1answer
12 views
What is the exact difference between AddQueueMember and AgentLogin applications?
For example is there a difference between AddQueueMember(queue_name, SIP/XXXX) and AgentLogin(SIP/XXXX) which has a queuename in queues.conf as the following?
agents.conf
[agents]
agent => ...
0
votes
0answers
18 views
Return results through an API call when the call has to go through a queue
How would you return results through an API call when the call has to go through a queue?
For example, I'm using Node.js with Express to create the API. Lets say a program makes a GET request to my ...
0
votes
1answer
26 views
PowerShell Client to Server request queue
Background Info
I am currently using an INI file system to pass requests/variables between a client (A desktop PowerShell form) and a server.
At the moment the system works by the PowerShell form ...
0
votes
2answers
76 views
Can windows Azure service bus queues can be accessed randomly
Q1: Rather than traditional way of accessing queues, is it possible to access an element stored at nth position in azure service bus queues,
Q2: If answer to 1st is "Yes", then is it possible to ...
0
votes
1answer
20 views
Spring JMS transport the onSendAfterWrite in JMSReceiverConnection sends TextMessage[ID:<507866.1373381341790.0>, null] in response
The JMSRecieverConnection.send() flushes the response to transport output stream and returns the responseMessage to replyQueue. But the responseMessage is TextMessage[null, null]. Here is the code I ...
0
votes
2answers
29 views
Enqueue, Dequeue and ViewQueue in Java
I am doing a queue in java. Here is my code:
public class ListQueue {
public static void main(String[] args){
Queue myQueue;
Scanner sc = new Scanner(System.in);
String input;
int ...
0
votes
4answers
36 views
Using instance variable Linkedlist() in method - why do I have to make new in method body
this is my first post here. I have recently started to get interested in learning Java, I have read through some beginner level tutorials, kept http://docs.oracle.com as my bookmark and read several ...
3
votes
1answer
40 views
Using Javascript to rate limit and queue ajax calls to once every 15 seconds
I have an application that automatically tweets every time a user does something...
Users can easily perform that action once every second if they like.
Twitters rate limit says that it pays ...