Example usage for java.lang AutoCloseable interface-usage

List of usage examples for java.lang AutoCloseable interface-usage

Introduction

In this page you can find the example usage for java.lang AutoCloseable interface-usage.

Usage

From source file org.apache.drill.yarn.appMaster.http.WebServer.java

/**
 * Wrapper around the Jetty web server.
 * <p>
 * Adapted from Drill's drill.exec.WebServer class. Would be good to create a
 * common base class later, but the goal for the initial project is to avoid
 * Drill code changes.

From source file org.apache.pulsar.functions.worker.FunctionRuntimeManager.java

/**
 * This class managers all aspects of functions assignments and running of function assignments for this worker
 */
@Slf4j
public class FunctionRuntimeManager implements AutoCloseable {

From source file org.opendaylight.lispflowmapping.implementation.LispMappingService.java

public class LispMappingService implements IFlowMapping, BindingAwareProvider, IMapRequestResultHandler,
        IMapNotifyHandler, OdlLispProtoListener, AutoCloseable {
    protected static final Logger LOG = LoggerFactory.getLogger(LispMappingService.class);

    private volatile boolean shouldAuthenticate = true;

From source file jgnash.report.pdf.Report.java

/**
 * Base report format definition.
 * <p>
 * Units of measure is in Points
 * <p>
 * The origin of a PDFBox page is the bottom left corner vs. a report being created from the top down.  Report layout

From source file org.opendaylight.genius.itm.listeners.VtepConfigSchemaListener.java

/**
 * The listener class interested in processing data change on.
 * {@code VtepConfigSchema} objects.
 *
 * @see VtepConfigSchema
 */

From source file com.stratio.deep.cassandra.config.CassandraDeepJobConfig.java

/**
 * Base class for all config implementations providing default implementations for methods defined in
 * {@link ICassandraDeepJobConfig}.
 */
public abstract class CassandraDeepJobConfig<T> extends DeepJobConfig<T, CassandraDeepJobConfig<T>>
        implements AutoCloseable, ICassandraDeepJobConfig<T> {

From source file com.vaushell.shaarlijavaapi.ShaarliClient.java

/**
 * Shaarli client. Now we have a JAVA access to Sebsauvage Shaarli (see http://sebsauvage.net/wiki/doku.php?id=php:shaarli)
 *
 * @author Fabien Vauchelles (fabien_AT_vauchelles_DOT_com)
 */
public class ShaarliClient implements AutoCloseable {

From source file org.apache.tinkerpop.gremlin.structure.Graph.java

/**
 * A {@link Graph} is a container object for a collection of {@link Vertex}, {@link Edge}, {@link VertexProperty},
 * and {@link Property} objects.
 *
 * @author Marko A. Rodriguez (http://markorodriguez.com)
 * @author Stephen Mallette (http://stephen.genoprime.com)

From source file org.opennms.features.newts.converter.NewtsConverter.java

/**
 * The Class NewtsConverter.
 *
 * The converter requires multi-ds metrics; otherwise it won't work.
 *
 * @author Alejandro Galue <agalue@opennms.org>

From source file hudson.cli.CLI.java

/**
 * CLI entry point to Jenkins.
 * 
 * @author Kohsuke Kawaguchi
 */
public class CLI implements AutoCloseable {