public static final class FileSystemContextReinitializer.ReinitBlockerResource extends Object implements Closeable
Constructor and Description |
---|
ReinitBlockerResource(CountingLatch latch)
Increases the count of the latch.
|
public ReinitBlockerResource(CountingLatch latch) throws InterruptedException
FileSystemContextReinitializer.ReinitAllowerResource
, the constructor blocks until the latch
is released by FileSystemContextReinitializer.ReinitAllowerResource.close()
.latch
- the count latchInterruptedException
- if interrupted during being blockedpublic void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2023. All Rights Reserved.