Class CloseableMonitor.Hold (1.7.0)

Stay organized with collections Save and categorize content based on your preferences.
public class CloseableMonitor.Hold implements AutoCloseable

This is meant for use in the try-with-resources pattern. It will call leave() on a Monitor when it goes out of scope. This is cannot be constructed directly, but through usage of the static utility methods above.

Inheritance

java.lang.Object > CloseableMonitor.Hold

Implements

AutoCloseable

Methods

close()

public void close()