List of usage examples for java.lang AutoCloseable interface-usage
From source file com.joyent.manta.client.MantaClient.java
import java.util.function.Function; import java.util.function.Predicate; import java.util.stream.Stream; import java.util.stream.StreamSupport; import static com.joyent.manta.util.MantaUtils.formatPath;
From source file org.opendaylight.vpnservice.elan.internal.ElanInterfaceManager.java
/**
* Class in charge of handling creations, modifications and removals of ElanInterfaces.
*
* @see org.opendaylight.yang.gen.v1.urn.opendaylight.vpnservice.elan.rev150602.elan.interfaces.ElanInterface
*
*/
From source file org.apache.hadoop.hive.metastore.HiveMetaStoreClientPreCatalog.java
/**
* Hive Metastore Client.
* The public implementation of IMetaStoreClient. Methods not inherited from IMetaStoreClient
* are not public and can change. Hence this is marked as unstable.
* For users who require retry mechanism when the connection between metastore and client is
* broken, RetryingMetaStoreClient class should be used.
From source file org.opendaylight.netvirt.elan.internal.ElanInterfaceManager.java
/**
* Class in charge of handling creations, modifications and removals of
* ElanInterfaces.
*
* @see org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.elan.rev150602.elan.interfaces.ElanInterface
*/
From source file androidx.media.MediaController2.java
/**
* Allows an app to interact with an active {@link MediaSession2} in any status. Media buttons and
* other commands can be sent to the session.
* <p>
* When you're done, use {@link #close()} to clean up resources. This also helps session service
* to be destroyed when there's no controller associated with it.
From source file org.opendaylight.nemo.renderer.openflow.FlowUtils.java
public class FlowUtils implements AutoCloseable { private static final Logger LOG = LoggerFactory.getLogger(FlowUtils.class); private static final short IN_PORT_TABLE_ID = 0; private static final short MPLS_LABEL_TABLE_ID = 1; private static final short MAC_TABLE_ID = 2;