List of usage examples for java.lang AutoCloseable interface-usage
From source file org.everit.osgi.dev.maven.util.FileManager.java
/** * This class is not thread-safe. It should be used within one thread only. */ @Generated("asSymbolicLinkWillBeDeprecatedIgnoringCheckstyle") public class FileManager implements AutoCloseable {
From source file edu.emory.cci.aiw.cvrg.eureka.etl.ksb.PropositionDefinitionFinder.java
public class PropositionDefinitionFinder implements AutoCloseable { private static final Logger LOGGER = LoggerFactory.getLogger(PropositionDefinitionFinder.class); private static final Map<String, List<PropositionDefinition>> parentsCache = new ReferenceMap<>(); private final KnowledgeSource knowledgeSource; private final EtlProperties etlProperties;
From source file com.qwazr.server.GenericServer.java
public class GenericServer implements AutoCloseable { final private ExecutorService executorService; final private ServletContainer servletContainer; final private ServletContextBuilder webAppContext; final private ServletContextBuilder webServiceContext;
From source file htsjdk.samtools.reference.FastaReferenceWriter.java
/**
* Writes a FASTA formatted reference file.
* In addition it can also compose the index and dictionary files for the newly written reference file.
* </p>
* <p>
* Example:
From source file ai.grakn.engine.backgroundtasks.distributed.Scheduler.java
/** * Handle execution of recurring tasks. * Monitor new tasks queue to add them to ScheduledExecutorService. * ScheduledExecutorService will be given a function to add the task in question to the work queue. */ public class Scheduler implements Runnable, AutoCloseable {
From source file eu.eubrazilcc.lvl.core.http.client.TrustedHttpsClient.java
/**
* Provides a HTTP client associated to a temporary custom SSL context which will trust own CA and self-signed certificates.
* @author Erik Torres <ertorser@upv.es>
* @see <a href="https://hc.apache.org/httpcomponents-client-ga/httpclient/examples/org/apache/http/examples/client/ClientCustomSSL.java">ClientCustomSSL.java</a>
* @see <a href="https://code.google.com/p/java-use-examples/source/browse/trunk/src/com/aw/ad/util/InstallCert.java">InstallCert.java</a>
*/
From source file org.protempa.Executor.java
/** * * @author Andrew Post */ final class Executor implements AutoCloseable {
From source file wordnice.db.SQLDatabase.java
/**
* This class allows you to easily create database of any available
* type from entered data / configuration
*
* @author wordnice
*/
From source file com.hortonworks.streamline.streams.cluster.service.metadata.KafkaMetadataService.java
/** * This class opens zookeeper client connections which must be closed either by calling the {@link KafkaMetadataService#close()}' * method on a finally block, or instantiating this class in a try with resources statement. */ public class KafkaMetadataService implements AutoCloseable { private static final String AMBARI_JSON_SERVICE_KAFKA = ServiceConfigurations.KAFKA.name();
From source file org.commonvox.hbase_column_manager.ColumnInvalidityReport.java
/** * * @author Daniel Vimont */ class ColumnInvalidityReport implements Closeable, AutoCloseable {