List of usage examples for java.io Closeable interface-usage
From source file com.reactivetechnologies.platform.datagrid.handlers.AbstractMessageChannel.java
/** * A base class with utility. * * @param <E> */ public abstract class AbstractMessageChannel<E> implements MessageChannel<E>, Closeable {
From source file $.LogEventParsingIterator.java
/** * Iterates over provided log files, parsing and returning {@link LogEvent}s on demand. */ class LogEventParsingIterator implements Iterator<LogEvent>, Closeable { private final LogParser parser; private final LogParserConfig config;
From source file io.horizondb.io.files.RandomAccessDataFile.java
/**
* A <code>RandomAccessFile</code> that allow a single writer and multiple reader.
*
* @author Benjamin
*
*/
From source file com.microsoft.windowsazure.core.ServiceClient.java
public abstract class ServiceClient<TClient> implements FilterableService<TClient>, Closeable { private final ExecutorService executorService; public ExecutorService getExecutorService() { return this.executorService; }
From source file org.apache.mahout.math.hadoop.stochasticsvd.qr.QRLastStep.java
/** * Second/last step of QR iterations. Takes input of qtHats and rHats and * provides iterator to pull ready rows of final Q. * */ public class QRLastStep implements Closeable, Iterator<Vector> {
From source file com.clank.launcher.util.HttpRequest.java
/** * A simple fluent interface for performing HTTP requests that uses * {@link java.net.HttpURLConnection} or {@link javax.net.ssl.HttpsURLConnection}. */ @Log public class HttpRequest implements Closeable, ProgressObservable {
From source file org.sejda.impl.pdfbox.component.PdfHeaderFooterWriter.java
/**
* Component providing footer related functionalities.
*
* @author Andrea Vacondio
*
*/
From source file com.skcraft.launcher.util.HttpRequest.java
/** * A simple fluent interface for performing HTTP requests that uses * {@link java.net.HttpURLConnection} or {@link javax.net.ssl.HttpsURLConnection}. */ @Log public class HttpRequest implements Closeable, ProgressObservable {
From source file org.apache.ambari.servicemonitor.reporting.ReportingLoop.java
/** * This is the monitor service */ public final class ReportingLoop implements Runnable, ProbeReportHandler, MonitorKeys, Closeable { private static final Log LOG = LogFactory.getLog(ReportingLoop.class); private final ProbeWorker worker;
From source file org.commonjava.indy.client.core.helper.HttpResources.java
/**
* Contains request, response, and client references, for passing raw data streams and the like back to the caller without losing track of the
* resources that need to be closed when the caller is finished.
* <br/>
* <b>NOTE:</b> This class stores the response entity {@link InputStream}, and is NOT threadsafe!
*