List of usage examples for java.io Closeable interface-usage
From source file biospectra.classify.LocalClassifier.java
/** * * @author iychoi */ public class LocalClassifier implements Closeable {
From source file de.micromata.genome.logging.spi.ifiles.IndexDirectory.java
/**
*
* Keep track of all indexed log files.
*
* Format:
*
From source file de.telekom.cldii.util.rssparser.RSSReader.java
/**
* HTTP client to retrieve and parse RSS 2.0 feeds. Callers must call
* {@link RSSReader#close()} to release all resources.
*
* @author Mr Horn and Jun Chen, jambit GmbH
*/
From source file com.qwazr.library.cassandra.CassandraCluster.java
public class CassandraCluster implements Closeable { private final static Logger logger = LoggerUtils.getLogger(CassandraCluster.class); private final ReadWriteLock rwl = ReadWriteLock.stamped(); private Cluster cluster;
From source file net.myrrix.batch.common.iterator.sequencefile.SequenceFileIterator.java
/**
* <p>{@link java.util.Iterator} over a {@link SequenceFile}'s keys and values, as a {@link Pair}
* containing key and value.</p>
*
* @author Sean Owen
* @author Mahout
From source file com.meltmedia.cadmium.servlets.MaintenanceFilter.java
@Singleton public class MaintenanceFilter extends HttpFilter implements Filter, Closeable { private final Logger logger = LoggerFactory.getLogger(getClass()); @Override public void close() throws IOException {
From source file org.eclipse.aether.transport.http.LocalState.java
/** * Container for HTTP-related state that can be shared across invocations of the transporter to optimize the * communication with server. */ final class LocalState implements Closeable {
From source file com.netflix.curator.framework.recipes.locks.ChildReaper.java
/** * Utility to reap empty child nodes of a parent node. Periodically calls getChildren on * the node and adds empty nodes to an internally managed {@link Reaper} */ public class ChildReaper implements Closeable { private final Logger log = LoggerFactory.getLogger(getClass());
From source file com.datatorrent.stram.client.ConfigPackage.java
/**
* <p>
* ConfigPackage class.</p>
*
* @since 2.1.0
*/
From source file uk.co.flax.biosolr.elasticsearch.OntologyHelperBuilder.java
/** * Created by mlp on 09/02/16. * @author mlp */ public class OntologyHelperBuilder implements Closeable {