public static final class FileSystemContextReinitializer.ReinitAllowerResource extends Object implements Closeable
Constructor and Description |
---|
ReinitAllowerResource(CountingLatch latch)
Waits the count to reach zero, then blocks further constructions of
FileSystemContextReinitializer.ReinitBlockerResource until close() . |
public ReinitAllowerResource(CountingLatch latch)
FileSystemContextReinitializer.ReinitBlockerResource
until close()
.latch
- the count latchpublic void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2023. All Rights Reserved.