Package org.apache.bookkeeper.metastore
Class MetastoreUtils.MultiMetastoreCallback<T>
java.lang.Object
org.apache.bookkeeper.metastore.MetastoreUtils.MultiMetastoreCallback<T>
- All Implemented Interfaces:
MetastoreCallback<T>
- Enclosing class:
- MetastoreUtils
static class MetastoreUtils.MultiMetastoreCallback<T>
extends Object
implements MetastoreCallback<T>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final CountDownLatch(package private) final AtomicInteger(package private) final int(package private) int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoid
-
Field Details
-
rc
int rc -
numOps
final int numOps -
numFinished
-
doneLatch
-
-
Constructor Details
-
MultiMetastoreCallback
MultiMetastoreCallback(int numOps)
-
-
Method Details
-
complete
- Specified by:
completein interfaceMetastoreCallback<T>- See Also:
-
waitUntilAllFinished
- Throws:
MSExceptionInterruptedException
-