public synchronized int length() {
			if (modelTimeQueue == null || modelTimeQueue.isEmpty())
				return 0;
			if (modelTimeQueue.getPointer() == modelTimeQueue.getLength())
				return modelTimeQueue.getLength();
			return modelTimeQueue.getPointer();
		}