@Test public void testNext() throws IOException, InterruptedException { writeChange(); DocumentChange c = feed.next(); assertNotNull(c); }
public DocumentChange next() throws InterruptedException { assertRunningState(); DocumentChange c = changes.take(); checkIfInterrupted(c); return c; }
ContinuousChangesFeed implements ChangesFeed, Runnable { public DocumentChange next() throws InterruptedException { assertRunningState(); DocumentChange c = changes.take(); checkIfInterrupted(c); return c; } }
ContinuousChangesFeed implements ChangesFeed, Runnable { public DocumentChange next() throws InterruptedException { assertRunningState(); DocumentChange c = changes.take(); checkIfInterrupted(c); return c; } ContinuousChangesFeed(String dbName, HttpResponse httpResponse); }
ContinuousChangesFeed implements ChangesFeed, Runnable { public DocumentChange next() throws InterruptedException { assertRunningState(); DocumentChange c = changes.take(); checkIfInterrupted(c); return c; } ContinuousChangesFeed(String dbName, HttpResponse httpResponse); DocumentChange next(); DocumentChange poll(); DocumentChange next(long timeout, TimeUnit unit); void cancel(); boolean isAlive(); int queueSize(); void run(); }
ContinuousChangesFeed implements ChangesFeed, Runnable { public DocumentChange next() throws InterruptedException { assertRunningState(); DocumentChange c = changes.take(); checkIfInterrupted(c); return c; } ContinuousChangesFeed(String dbName, HttpResponse httpResponse); DocumentChange next(); DocumentChange poll(); DocumentChange next(long timeout, TimeUnit unit); void cancel(); boolean isAlive(); int queueSize(); void run();  }