public class ShutdownLatch.ActivityHandle extends Object implements AutoCloseable
end()method should be called if the registered activity is finalized.
|Constructor and Description|
|Modifier and Type||Method and Description|
Mark this activity as being finalized.
public void end()
ShutdownLatch.registerActivity()) has ended. This method will complete the
ShutdownLatch.initiateShutdown()has been invoked and all activities have ended.
public void close()
Copyright © 2010–2022. All rights reserved.