Class MetastoreUtils.MultiMetastoreCallback<T>

    • Field Summary

      Modifier and Type Field Description
      (package private) java.util.concurrent.CountDownLatch doneLatch  
      (package private) java.util.concurrent.atomic.AtomicInteger numFinished  
      (package private) int numOps  
      (package private) int rc  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void complete​(int rc, T value, java.lang.Object ctx)  
      void waitUntilAllFinished()  
      • Methods inherited from class java.lang.Object

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

      • rc

        int rc
      • numOps

        final int numOps
      • numFinished

        final java.util.concurrent.atomic.AtomicInteger numFinished
      • doneLatch

        final java.util.concurrent.CountDownLatch doneLatch
    • Constructor Detail

      • MultiMetastoreCallback

        MultiMetastoreCallback​(int numOps)