List of usage examples for java.io Closeable interface-usage
From source file edu.cornell.med.icb.goby.counts.CountsArchiveWriter.java
/**
* Writes archives of counts information for several sequences. CountsArchiveWriter leverages
* the {@link org.bdval.io.compound.CompoundFileWriter}.
*
* @author Fabien Campagne
* Date: May 13, 2009
From source file org.apache.blur.store.hdfs.FSInputFileHandle.java
public class FSInputFileHandle implements Closeable { private final FileSystem _fileSystem; private final Path _path; private final Map<String, ManagedFSDataInputSequentialAccess> _seqAccessInputs; private final AtomicBoolean _open = new AtomicBoolean(true);
From source file cz.cvut.fel.Room.java
/** * @author Ivan Gracia (izanmail@gmail.com) * @since 4.3.1 */ public class Room implements Closeable { private final Logger log = LoggerFactory.getLogger(Room.class);
From source file biospectra.classify.server.RabbitMQInputServer.java
/** * * @author iychoi */ public class RabbitMQInputServer implements Closeable {
From source file org.apache.hadoop.mapred.nativetask.handlers.NativeMapOnlyHandlerNoReducer.java
/** * Java Record Reader + Native Mapper */ public class NativeMapOnlyHandlerNoReducer<IK, IV, OK, OV> implements DataReceiver, Closeable {
From source file org.apache.samza.webapp.ApplicationMasterRestClient.java
/** * Client for the {@link ApplicationMasterRestServlet}. */ public class ApplicationMasterRestClient implements Closeable { private final CloseableHttpClient httpClient; private final HttpHost appMasterHost;
From source file org.apache.hadoop.hdfs.server.datanode.DatanodeBlockWriter.java
/** * Base class for block writing in data node. It reads input packet * buffer and write data and checksum to local files. * */ abstract class DatanodeBlockWriter implements java.io.Closeable {
From source file org.kurento.tutorial.groupcall.Room.java
/** * @author Ivan Gracia (izanmail@gmail.com) * @since 4.3.1 */ public class Room implements Closeable { private final Logger log = LoggerFactory.getLogger(Room.class);
From source file ja.centre.util.io.nio.MappedByteBufferWrapper.java
/**
* Workaraund against J2SE BUG 4724038: "(fs) Add unmap method to MappedByteBuffer".
* Method "clean" was taken from comments from post:<br>
* <br>
* http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4724038
*/
From source file org.apache.james.utils.IMAPMessageReader.java
public class IMAPMessageReader implements Closeable { private final IMAPClient imapClient; public IMAPMessageReader(String host, int port) throws IOException { imapClient = new IMAPClient();