io.baltoro.client.RequestQueue_old Maven / Gradle / Ivy
package io.baltoro.client;
public class RequestQueue_old
{
/*
private static RequestQueue requestQueue;
private ConcurrentLinkedQueue q;
private RequestQueue_old()
{
q = new ConcurrentLinkedQueue<>();
}
static RequestQueue instance()
{
if(requestQueue == null)
{
requestQueue = new RequestQueue();
}
return requestQueue;
}
void addToRequestQueue(String json)
{
q.add(json);
String sync = "request-queue";
synchronized (sync.intern())
{
sync.intern().notify();
}
}
ConcurrentLinkedQueue getQueue()
{
return q;
}
*/
}