public synchronized int gridletStatus(int gridletId,int userId)
	    {
	        ResGridlet rgl = null;

	        // Find in EXEC List first
	        int found = gridletInExecList_.indexOf(gridletId, userId);
	        if (found >= 0)
	        {
	            // Get the Gridlet from the execution list
	            rgl = (ResGridlet) gridletInExecList_.get(found);
	            return rgl.getGridletStatus();
	        }

	        // Find in Paused List
	        found = gridletPausedList_.indexOf(gridletId, userId);
	        if (found >= 0)
	        {
	            // Get the Gridlet from the execution list
	            rgl = (ResGridlet) gridletPausedList_.get(found);
	            return rgl.getGridletStatus();
	        }

	        // Find in Queue List
	        found = gridletQueueList_.indexOf(gridletId, userId);
	        if (found >= 0)
	        {
	            // Get the Gridlet from the execution list
	            rgl = (ResGridlet) gridletQueueList_.get(found);
	            return rgl.getGridletStatus();
	        }

	        // if not found in all 3 lists then no found
	        return -1;
	    }