List of usage examples for java.lang AutoCloseable interface-usage
From source file edu.cornell.mannlib.vitro.webapp.searchengine.SearchEngineLogger.java
/** * Logging the SearchEngine, for the Developer's panel. */ public abstract class SearchEngineLogger implements AutoCloseable { private static final Log log = LogFactory.getLog(SearchEngineLogger.class);
From source file io.mapzone.arena.tracker.GoogleAnalyticsTracker.java
/** * This tracker, tracks servlet requests to mapzone into the configured tracker id. * * @author Steffen Stundzig */ public class GoogleAnalyticsTracker implements AutoCloseable {
From source file org.nd4j.linalg.jcublas.CublasPointer.java
/**
* Wraps the allocation
* and freeing of resources on a cuda device
* @author bam4d
*
*/
From source file org.sonar.process.AllProcessesCommands.java
/**
* Process inter-communication to :
* <ul>
* <li>share status of child process</li>
* <li>stop/restart child process</li>
* </ul>
From source file peapod.FramedGraph.java
/**
* <p>A framed instance of a TinkerPop 3 graph.</p>
* <p>Allows to query the graph and return framed objects instead of TinkerPop 3 {@code vertices} and {@code edges}</p>
* <p>The provided package is used to recursively scan all {@code @Vertex}, {@code @VertexProperties} and {@code @Edge} classes.</p>
* <pre>
* FramedGraph graph = new FramedGraph(TinkerGraph.open(), Person.class.getPackage());
From source file com.itemanalysis.jmetrik.file.JmetrikFileReader.java
/**
* Reads a *.jmetrik file. It will return the file header information as a map of VariableAttributes.
* It work like a record set. An example usage is:
*
* File f = new File(fileName);
* JmetrikReader reader = new JmetrikReader(f);
From source file org.sonar.process.sharedmemoryfile.AllProcessesCommands.java
/**
* Process inter-communication to :
* <ul>
* <li>share status of child process</li>
* <li>stop/restart child process</li>
* </ul>
From source file org.carlspring.strongbox.storage.metadata.nuget.TempNupkgFile.java
/** * Nuget nupkg file representation * * @author sviridov */ public class TempNupkgFile implements AutoCloseable, Nupkg {
From source file ee.ria.xroad.common.util.MultipartEncoder.java
/** * Writes multipart content into a output stream. */ @Slf4j public class MultipartEncoder implements AutoCloseable {
From source file org.corfudb.runtime.protocols.PooledThriftClient.java
/**
* This class implements a pooled Thrift client which other protocols may use.
* Somewhat based on http://vincentdevillers.blogspot.com/2013/11/pooling-thrift-client.html
*
* @author Michael Wei <mwei@cs.ucsd.edu>
*/