Class CloseableMonitor (1.9.0)

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

Wraps a Monitor with methods that can be used with try-with-resources.

Inheritance

java.lang.Object > CloseableMonitor

Constructors

CloseableMonitor()

public CloseableMonitor()

Fields

monitor

public final Monitor monitor
Field Value
TypeDescription
com.google.common.util.concurrent.Monitor

Methods

enter()

public CloseableMonitor.Hold enter()

try-with-resources wrapper