public T peek() throws IOException, KeeperException, InterruptedException, ClassNotFoundException { return blockingQueue.peek(); // for now blockingQueue has non-blocking peek() }