public class ResourceGuard.Lease extends Object implements AutoCloseable
ResourceGuard
as result of calls to ResourceGuard.acquireResource()
. The owner of the lease can release it via the close()
call.public void close()
close
in interface AutoCloseable
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.