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 at.tugraz.ist.akm.webservice.requestprocessor.EchoJsonRequestProcessor.java

public class EchoJsonRequestProcessor extends AbstractHttpRequestProcessor implements Closeable {
    private LogClient mLog = new LogClient(this);

    public EchoJsonRequestProcessor(final Context context, final XmlNode config,
            final HttpRequestHandlerRegistry registry) {
        super(context, config, registry);

From source file org.apache.hadoop.hbase.client.AsyncRegionLocator.java

/**
 * TODO: reimplement using aync connection when the scan logic is ready. The current implementation
 * is based on the blocking client.
 */
@InterfaceAudience.Private
class AsyncRegionLocator implements Closeable {

From source file com.linkedin.pinot.core.io.writer.impl.FixedBitSingleValueMultiColWriter.java

/**
 * Represents a datatable where each col contains values that can be represented
 * using a fix set of bits.
 *
 *
 */

From source file it.openutils.mgnlaws.magnolia.datastore.S3LazyObject.java

/**
 * @author molaschi
 * @version $Id: S3LazyObject.java 12437 2013-01-30 17:34:41Z manuel $
 */
public class S3LazyObject implements Closeable {

From source file com.mmnaseri.couteau.http.io.HttpResponse.java

/**
 * @author Milad Naseri (mmnaseri@programmer.net)
 * @since 1.0 (14/6/15 AD, 16:10)
 */
public interface HttpResponse extends Closeable {

From source file alluxio.cli.AbstractShell.java

/**
 * Abstract class for handling command line inputs.
 */
@NotThreadSafe
public abstract class AbstractShell implements Closeable {
    private static final Logger LOG = LoggerFactory.getLogger(AbstractShell.class);

From source file com.agileapes.couteau.http.io.HttpResponse.java

/**
 * @author Mohammad Milad Naseri (m.m.naseri@gmail.com)
 * @since 1.0 (14/6/15 AD, 16:10)
 */
public interface HttpResponse extends Closeable {

From source file org.apache.htrace.core.SpanReceiver.java

/**
 * The collector within a process that is the destination of Spans when a
 * trace is running. {@code SpanReceiver} implementations are expected to
 * provide a constructor with the signature
 *
 * <pre>

From source file com.optimizely.ab.OptimizelyHttpClient.java

/**
 * Basic HttpClient wrapper to be utilized for fetching the datafile
 * and for posting events through the EventHandler
 *
 * TODO abstract out interface and move into core?
 */

From source file AbstractJmxClient.java

public abstract class AbstractJmxClient implements Closeable {
    private static final Options options = new Options();
    protected static final int DEFAULT_JMX_PORT = 7199;
    protected static final String DEFAULT_HOST = "localhost";

    protected final String host;