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.mapred.nativetask.handlers.BufferPushee.java

/**
 * collect data when signaled
 */
@InterfaceAudience.Private
public class BufferPushee<OK, OV> implements Closeable {

From source file org.apache.phoenix.log.QueryLoggerDisruptor.java

public class QueryLoggerDisruptor implements Closeable {

    private volatile Disruptor<RingBufferEvent> disruptor;
    private boolean isClosed = false;
    //number of elements to create within the ring buffer.
    private static final int RING_BUFFER_SIZE = 8 * 1024;

From source file android.net.http.HttpResponseCache.java

/**
 * Caches HTTP and HTTPS responses to the filesystem so they may be reused,
 * saving time and bandwidth. This class supports {@link HttpURLConnection} and
 * {@link HttpsURLConnection}; there is no platform-provided cache for {@link
 * DefaultHttpClient} or {@link AndroidHttpClient}.
 *

From source file hsyndicate.fs.SyndicateFSFileHandle.java

public class SyndicateFSFileHandle implements Closeable {

    private static final Log LOG = LogFactory.getLog(SyndicateFSFileHandle.class);

    private SyndicateFileSystem filesystem;
    private SyndicateFSFileStatus status;

From source file me.xingrz.prox.tcp.tunnel.Tunnel.java

/**
 * Tunnel 
 *  Tunnel ? {@link java.nio.channels.SocketChannel}
 *  Tunnel ? {@link #setBrother(Tunnel)} 
 */
public abstract class Tunnel implements Closeable, Readable, Writable {

From source file com.esri.geoportal.commons.ckan.client.Client.java

/**
 * CKAN lightweight client.
 */
public class Client implements Closeable {
    private final Logger LOG = LoggerFactory.getLogger(Client.class);

From source file com.moz.fiji.schema.FijiSchemaTable.java

/**
 * The Fiji schema table, which contains the lookup table between schema IDs, hashes, and full
 * schemas.
 *
 * @see FijiMetaTable
 * @see FijiSystemTable

From source file org.apache.hadoop.hbase.procedure.ZKProcedureUtil.java

/**
 * This is a shared ZooKeeper-based znode management utils for distributed procedure.  All znode
 * operations should go through the provided methods in coordinators and members.
 *
 * Layout of nodes in ZK is
 * /hbase/[op name]/acquired/

From source file io.confluent.support.metrics.BaseMetricsReporter.java

/**
 * Periodically reports metrics collected from a Kafka broker.
 *
 * <p>Metrics are being reported to a Kafka topic within the same cluster and/or to Confluent via
 * the Internet.
 *

From source file org.apache.hadoop.mapred.nativetask.handlers.NativeMapTask.java

/**
 * 
 * Full Native Map Task
 */
public class NativeMapTask implements CommandDispatcher, Closeable {
    public static String NAME = "NativeTask.MMapTaskHandler";