List of usage examples for java.lang AutoCloseable interface-usage
From source file scriberlog.core.ScribeClientPool.java
/** * * @author LinhTA */ public class ScribeClientPool<T extends TServiceClient> implements AutoCloseable {
From source file edu.jhu.hlt.concrete.ingesters.alnc.ALNCIngester.java
/** * Class that allows mapping of ALNC documents into Concrete {@link Communication} * objects. */ public class ALNCIngester implements IteratorBasedStreamIngester, AutoCloseable {
From source file com.vmware.identity.interop.ldap.SaslInputStructNative.java
/** * The type is used to pass the original data from caller to ldap_sasl_interactive_bind_s; * the same data is passed from ldap_sasl_interactive_bind_s to callback func, ldapSaslSrpInteractFunc * , where data is finally consumed. */ public class SaslInputStructNative extends Structure implements AutoCloseable {
From source file com.vmware.identity.interop.ldap.BerValNativeArray.java
/**
* Do not use this class externally.
* It is intended for internal use by Platform package,
* but must stay public for interop ...
*/
From source file org.apache.storm.testing.TmpPath.java
public class TmpPath implements AutoCloseable { private static final Logger LOG = LoggerFactory.getLogger(TmpPath.class); public static String localTempPath() { StringBuilder ret = new StringBuilder().append(System.getProperty("java.io.tmpdir")); if (!Utils.isOnWindows()) {
From source file org.trellisldp.http.impl.TrellisDataset.java
/** * @author acoburn */ public class TrellisDataset implements AutoCloseable { private static final Logger LOGGER = getLogger(TrellisDataset.class);
From source file nl.esciencecenter.ptk.web.ResponseOutputStream.java
/** * Managed ResponseOutputStream. * Under construction. */ public class ResponseOutputStream extends OutputStream implements WebStream, Disposable, AutoCloseable { protected WebClient webClient;
From source file com.netflix.spectator.tdigest.TDigestWriter.java
/** * Base-class for TDigestWriter implementations. This class will take care of mapping a set of * measurements into capped-size byte buffers. */ abstract class TDigestWriter implements AutoCloseable {
From source file com.github.javaparser.wiki_samples.TestFileToken.java
/** * Creates a temporary test file that a sample can use. This way we don't have to rewrite the samples to fit them into * these tests. */ public class TestFileToken implements AutoCloseable { private final String filename;
From source file ezbake.thrift.ThriftConnectionPool.java
public class ThriftConnectionPool<T extends TServiceClient> implements AutoCloseable { private static final Logger logger = LoggerFactory.getLogger(ThriftConnectionPool.class); private final GenericObjectPool<T> internalPool;