Example usage for java.io Closeable interface-usage

List of usage examples for java.io Closeable interface-usage

Introduction

In this page you can find the example usage for java.io Closeable interface-usage.

Usage

From source file org.apache.hadoop.hdfs.conf.NameSpaceAddressManager.java

/**
 * The purpose of this class is to abstract out Zookeeper status
 * and configuration details from Avatar classes.
 * 
 */
public abstract class NameSpaceAddressManager implements Closeable {

From source file org.jtestplatform.it.InJVMTransportChannel.java

/**
 * @author Fabien DUMINY (fduminy at jnode dot org)
 */
abstract class InJVMTransportChannel<T extends Transport> implements Closeable {
    private static final Logger LOGGER = LoggerFactory.getLogger(InJVMTransportChannel.class);

From source file org.commonjava.indy.subsys.http.util.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!
 * 

From source file org.apache.calcite.adapter.csv.CsvStreamReader.java

/**
 * Extension to {@link CSVReader} that can read newly appended file content.
 */
class CsvStreamReader extends CSVReader implements Closeable {
    protected CSVParser parser;
    protected int skipLines;

From source file org.apache.kylin.storage.hbase.HBaseClientKVIterator.java

/**
 * @author yangli9
 * 
 */
public class HBaseClientKVIterator
        implements Iterable<Pair<ImmutableBytesWritable, ImmutableBytesWritable>>, Closeable {

From source file nya.miku.wishmaster.http.client.HttpClientWrapper.java

/**
 *   ? {@link HttpClient}, ??  {@link Closeable}.
 * @author miku-nyan
 *
 */

From source file com.reactive.hzdfs.cluster.AbstractMessageChannel.java

/**
 * A base class with utility.
 *
 * @param <E>
 */
public abstract class AbstractMessageChannel<E> implements MessageChannel<E>, Closeable {

From source file com.quartercode.jtimber.rh.agent.util.ResourceLister.java

/**
 * This class is able to list classpath resources from multiple classpath entries.
 * For example, if two classpath entries (e.g. jars) contain the directory {@code /test1/test2}, this class returns both.<br>
 * <br>
 * Note: This class is taken from Disconnected.
 */

From source file org.apache.distributedlog.service.stream.limiter.DynamicRequestLimiter.java

/**
 * Dynamically rebuild a rate limiter when the supplied dynamic config changes.
 *
 * <p>Subclasses implement build() to build the limiter. DynamicRequestLimiter must be closed to deregister
 * the config listener.
 */

From source file org.apache.kylin.storage.hbase.cube.v1.HBaseClientKVIterator.java

/**
 * @author yangli9
 * 
 */
public class HBaseClientKVIterator implements Iterable<IIRow>, Closeable {