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.axonframework.commandhandling.distributed.websockets.WebsocketCommandBusConnectorClient.java

/**
 * The client to connect to the Websocket server. It is capable of scaling up the amount of clients in a pool if a
 * single connection is not sufficient for the load applied.
 *
 * @author Koen Lavooij
 */

From source file com.graphhopper.reader.osm.OSMInputFile.java

/**
 * A readable OSM file.
 * <p>
 *
 * @author Nop
 */

From source file org.apache.nutch.host.HostDb.java

/**
 * A caching wrapper for the host datastore. 
 */
public class HostDb implements Closeable {
    public static final Log LOG = LogFactory.getLog(HostDb.class);

From source file org.springframework.integration.metadata.PropertiesPersistingMetadataStore.java

/**
 * Properties file-based implementation of {@link MetadataStore}. To avoid conflicts
 * each instance should be constructed with the unique key from which unique file name
 * will be generated.
 * By default, the properties file will be
 * {@code 'java.io.tmpdir' +  "/spring-integration/metadata-store.properties"},

From source file org.apache.pulsar.client.impl.AcknowledgmentsGroupingTracker.java

/**
 * Group the acknowledgments for a certain time and then sends them out in a single protobuf command.
 */
@Slf4j
public class AcknowledgmentsGroupingTracker implements Closeable {

From source file com.granita.icloudcalsync.resource.DavResourceFinder.java

public class DavResourceFinder implements Closeable {
    private final static String TAG = "davdroid.ResourceFinder";

    protected Context context;
    protected CloseableHttpClient httpClient;

From source file org.kiji.schema.impl.cassandra.CassandraAdmin.java

/**
 * Lightweight wrapper to mimic the functionality of HBaseAdmin (and provide other functionality).
 *
 * This class exists mostly so that we are not passing around instances of
 * com.datastax.driver.core.Session everywhere.
 *

From source file com.sangupta.jerry.http.WebResponse.java

/**
 * Class that encapsulates the response information obtained from invoking a HTTP URL. 
 * 
 * @author sangupta
 * 
 * @since 0.9.0

From source file org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.MappableBlock.java

/**
 * Represents an HDFS block that is mmapped by the DataNode.
 */
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class MappableBlock implements Closeable {

From source file CSVReader.java

/**
 * A very simple CSV reader released under a commercial-friendly license.
 * 
 * @author Glen Smith
 * 
 */