List of usage examples for java.io Closeable interface-usage
From source file org.apache.hadoop.tools.rumen.DeskewedJobTraceReader.java
public class DeskewedJobTraceReader implements Closeable { // underlying engine private final JobTraceReader reader; // configuration variables private final int skewBufferLength;
From source file org.apache.kylin.storage.hbase.ii.coprocessor.endpoint.HbaseServerKVIterator.java
/** */ public class HbaseServerKVIterator implements Iterable<IIRow>, Closeable { private RegionScanner innerScanner; private Logger logger = LoggerFactory.getLogger(HbaseServerKVIterator.class);
From source file com.android.tradefed.util.Bugreport.java
/** * Object holding the bugreport files references, compatible of flat bugreport and zipped bugreport * (bugreportz). */ public class Bugreport implements Closeable { private File mBugreport;
From source file com.qwazr.library.cassandra.CassandraSession.java
public class CassandraSession implements Closeable { private static final Logger logger = LoggerUtils.getLogger(CassandraSession.class); private final ReadWriteLock rwl = ReadWriteLock.stamped();
From source file edu.cornell.med.icb.iterators.TextFileLineIterator.java
/**
* This class allows line-by-line iteration through a text file.
* The iterator's remove() method throws UnsupportedOperatorException.
* If the opening of the file causes an IOException, it will be thrown as normal.
* If during the READING of the file there is an IOException, the iterator
* will wrap it in an IllegalArgumentExceptions. This is necessary because
From source file com.moz.fiji.hive.FijiTableInfo.java
/** * Contains all the information about a fiji table relevant to using hive. */ public class FijiTableInfo implements Closeable { public static final String FIJI_TABLE_URI = "fiji.table.uri";
From source file org.springframework.boot.actuate.metrics.ambari.pool.MetricObjectPool.java
/**
* Helper class that keeps pools of {@link TimelineMetric} and {@link TimelineMetrics} objects to reduce the GC.
*
* @author tzolov@apache.org
*
*/
From source file org.jumbune.org.apache.hadoop.tools.rumen.DeskewedJobTraceReader.java
public class DeskewedJobTraceReader implements Closeable { // underlying engine private final JobTraceReader reader; // configuration variables private final int skewBufferLength;
From source file org.archive.modules.fetcher.DefaultServerCache.java
/** * Server and Host cache. * @author stack * @version $Date$, $Revision$ */ public class DefaultServerCache extends ServerCache implements Closeable, Serializable {
From source file com.github.jrh3k5.flume.sink.http.server.ServerSinkClient.java
/**
* This is a client object used to interact with the HTTP server exposed by the {@link ServerSink}.
* <p />
* All instances of this class should {@link #close() closed} when done with them.
*
* @author Joshua Hyde