List of usage examples for java.io Closeable interface-usage
From source file com.thoughtworks.go.util.LogFixture.java
public class LogFixture implements Closeable { private final ListAppender appender; private Logger logger; private LogFixture(Class aClass, Level level) {
From source file org.apache.solr.kelvin.QueryPerformer.java
public abstract class QueryPerformer extends Observable implements Closeable, IConfigurable { public void configure(JsonNode config) throws Exception { ResponseAnalyzerLoader loader = new ResponseAnalyzerLoader(); loader.configure(config.path("responseAnalyzers")); this.responseAnalyzers = loader.getAnalyzers();
From source file com.qwazr.library.LibraryManagerImpl.java
class LibraryManagerImpl extends ReadOnlyMap<String, AbstractLibrary> implements LibraryManager, TrackedInterface.FileChangeConsumer, Closeable { private static final Logger logger = LoggerFactory.getLogger(LibraryManagerImpl.class); static volatile LibraryManagerImpl INSTANCE = null;
From source file org.fabrician.enabler.util.DockerfileBuildLock.java
/**
* An utility file to ensure that concurrent Dockerfile build for same image tag don't step on each other.
* <p>
* In particular, if an image associated with a Dockerfile is already built, we don't want it to go through the process of building again.
* </p>
*/
From source file org.sonar.server.db.ResultSetIterator.java
/**
* Forward-only {@link java.util.Iterator} over a {@link java.sql.ResultSet}. Rows are
* lazily loaded. The underlying ResultSet must be closed by calling the method
* {@link #close()}
* <p/>
* As a safeguard, the ResultSet is automatically closed after the last element has
From source file com.xiaomi.linden.common.util.FileChangeWatcher.java
public class FileChangeWatcher extends Thread implements Closeable { private final Logger LOGGER = LoggerFactory.getLogger(FileChangeWatcher.class); private Function<String, ?> callback; private String absolutePath; private int interval; private WatchService watcher;
From source file org.darkphoenixs.pool.PoolBase.java
/**
* <p>Title: PoolBase</p>
* <p>Description: </p>
*
* @author Victor
* @version 1.0
From source file org.artifactory.storage.fs.VfsArchiveFile.java
/** * A wrapper on a zip resource around a vfs file. This class is non tread safe. */ public class VfsArchiveFile implements Closeable { private VfsFile vfsFile;
From source file org.iplantcollaborative.DataStoreMessageReceiver.java
/** * * @author iychoi */ public class DataStoreMessageReceiver implements Closeable {
From source file org.apache.kylin.storage.hbase.coprocessor.endpoint.HbaseServerKVIterator.java
/** * Created by honma on 11/10/14. */ public class HbaseServerKVIterator implements Iterable<Pair<ImmutableBytesWritable, ImmutableBytesWritable>>, Closeable {