All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.baltoro.client.RequestQueue_old Maven / Gradle / Ivy

There is a newer version: 4.0.12
Show newest version
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;
	}
	*/
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy