Class SidecarStatePersister.TimedFutureWrapper

  • Enclosing class:
    SidecarStatePersister

    protected static class SidecarStatePersister.TimedFutureWrapper
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.List<com.datastax.driver.core.ResultSetFuture> futures  
      protected long startTimeNanos  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TimedFutureWrapper​(java.util.List<com.datastax.driver.core.ResultSetFuture> futures)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean allDone()  
      void await()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • futures

        protected final java.util.List<com.datastax.driver.core.ResultSetFuture> futures
      • startTimeNanos

        protected final long startTimeNanos
    • Constructor Detail

      • TimedFutureWrapper

        protected TimedFutureWrapper​(java.util.List<com.datastax.driver.core.ResultSetFuture> futures)
    • Method Detail

      • await

        public void await()
                   throws java.util.concurrent.ExecutionException,
                          java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException
      • allDone

        public boolean allDone()