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 com.opentable.etcd.EtcdInstance.java

public class EtcdInstance implements Closeable {
    private static final Logger LOGGER = LoggerFactory.getLogger(EtcdInstance.class);
    private static final String ETCD_PACKAGE_PATH_FMT = "/etcd/etcd-%s";
    private static final String ETCD_LOCATION;

    static {

From source file org.commonjava.maven.atlas.graph.RelationshipGraphFactory.java

public final class RelationshipGraphFactory implements Closeable {

    private final Logger logger = LoggerFactory.getLogger(getClass());

    private final RelationshipGraphConnectionFactory connectionManager;

From source file io.fabric8.spring.cloud.kubernetes.archaius.ArchaiusConfigMapSourceConfiguration.java

public class ArchaiusConfigMapSourceConfiguration
        implements InitializingBean, DisposableBean, WatchedConfigurationSource, Closeable {

    private final KubernetesClient client;
    private final String name;
    private final String namespace;

From source file ee.ria.xroad.common.message.SoapMessageEncoder.java

/**
 * Encodes SOAP with attachments as MIME multipart.
 */
public class SoapMessageEncoder implements SoapMessageConsumer, Closeable {

    private MultiPartOutputStream multipart;

From source file org.apache.hadoop.hbase.snapshot.SnapshotLogSplitter.java

/**
 * If the snapshot has references to one or more log files,
 * those must be split (each log contains multiple tables and regions)
 * and must be placed in the region/recovered.edits folder.
 * (recovered.edits files will be played on region startup)
 *

From source file org.largecollections.LargeCacheMap.java

/**
 * LargeCacheMap is a true implementation of Map. 
 * 
 * It differs from CacheMap in that it provides a lsize() function which is longer version of size(). In this respect it deviates from a
 * typical Map implementation. In return it allows LargeCacheMap to have size higher than Integer.MAX_VALUE
 * 

From source file nya.miku.wishmaster.chans.krautchan.KrautCatalogReader.java

public class KrautCatalogReader implements Closeable {
    private static final char[] CATALOG_START = "<article".toCharArray();

    private static final char[] SECTION_OPEN = "<section>".toCharArray();
    private static final char[] SECTION_CLOSE = "</section>".toCharArray();

From source file org.jvnet.hudson.update_center.IndexHtmlBuilder.java

/**
 * Generates index.html that has a list of files.
 *
 * @author Kohsuke Kawaguchi
 */
public class IndexHtmlBuilder implements Closeable {

From source file com.nttec.everychan.chans.krautchan.KrautCatalogReader.java

public class KrautCatalogReader implements Closeable {
    private static final char[] CATALOG_START = "<article".toCharArray();

    private static final char[] SECTION_OPEN = "<section>".toCharArray();
    private static final char[] SECTION_CLOSE = "</section>".toCharArray();

From source file org.apache.gobblin.service.modules.orchestration.AzkabanSpecProducer.java

@Slf4j
public class AzkabanSpecProducer implements SpecProducer<Spec>, Closeable {

    // Session Id for GaaS User
    private String _sessionId;
    private Config _config;