List of usage examples for java.io Closeable interface-usage
From source file com.codealot.url2text.Response.java
/**
* Class to encapsulate the result of fetching and converting a url's content.
* Consists of a bunch of properties plus asFormat(), toString() and toJson()
* methods.
*
* <p>
From source file org.apache.druid.query.groupby.epinephelinae.LimitedTemporaryStorage.java
/** * An area for limited temporary storage on disk. Limits are checked when opening files and on all writes to those * files. Thread-safe. */ public class LimitedTemporaryStorage implements Closeable { private static final Logger log = new Logger(LimitedTemporaryStorage.class);
From source file org.sonatype.nexus.repository.httpclient.FilteredHttpClientSupport.java
/** * Support for wrapping {@link HttpClient}s. * * @since 3.1 */ public abstract class FilteredHttpClientSupport extends ComponentSupport implements HttpClient, Closeable {
From source file org.excalibur.core.exec.RemoteScriptStatementExecutor.java
public class RemoteScriptStatementExecutor extends DefaultExecutor implements Closeable { private static final Logger LOG = LoggerFactory.getLogger(RemoteScriptStatementExecutor.class.getName()); private final SshClient sshClient_; private final VirtualMachine remoteNode_;
From source file org.eclipse.aether.transport.http.GlobalState.java
/** * Container for HTTP-related state that can be shared across incarnations of the transporter to optimize the * communication with servers. */ final class GlobalState implements Closeable {
From source file org.apache.streams.hbase.HbasePersistWriter.java
import org.apache.hadoop.hbase.client.HConnectionManager; import org.apache.hadoop.hbase.client.HTable; import org.apache.hadoop.hbase.client.HTableInterface; import org.apache.hadoop.hbase.client.HTablePool; import org.apache.hadoop.hbase.client.Put; import org.slf4j.Logger;
From source file at.tugraz.ist.akm.webservice.requestprocessor.AbstractHttpRequestProcessor.java
public abstract class AbstractHttpRequestProcessor implements HttpRequestHandler, Closeable { private LogClient mLog = new LogClient(AbstractHttpRequestProcessor.class.getCanonicalName()); protected Context mContext; protected XmlNode mConfig; protected HttpRequestHandlerRegistry mRegistry; private List<IRequestInterceptor> mRequestInterceptorList = new ArrayList<IRequestInterceptor>();
From source file org.kurento.tutorial.groupcall.UserSession.java
/** * * @author Ivan Gracia (izanmail@gmail.com) * @since 4.3.1 */ public class UserSession implements Closeable {
From source file com.bigdata.dastor.io.CompactionIterator.java
public class CompactionIterator extends ReducingIterator<IteratingRow, CompactionIterator.CompactedRow> implements Closeable { private static Logger logger = Logger.getLogger(CompactionIterator.class); protected static final int FILE_BUFFER_SIZE = 1024 * 1024;
From source file org.springframework.cloud.function.adapter.aws.SpringFunctionInitializer.java
/** * @author Dave Syer */ public class SpringFunctionInitializer implements Closeable { private static Log logger = LogFactory.getLog(SpringFunctionInitializer.class);