List of usage examples for java.io Closeable interface-usage
From source file org.kurento.basicroom.Room.java
/** * @author Ivan Gracia (izanmail@gmail.com) * @author Micael Gallego (micael.gallego@gmail.com) * @since 1.0.0 */ public class Room implements Closeable {
From source file org.springframework.boot.actuate.metrics.ambari.buffer.MetricBuffer.java
/**
* Thread safe Metric buffer implementation. Converts the input {@link Metric} objects into Map<String, Map<Long,
* Float>> entries. The Map<Long, Float> values can directly be used by the TimelineMetric#getMetricValues().
*
* @author tzolov@apache.org
*
From source file org.apache.gobblin.service.modules.orchestration.AzkabanSpecExecutorInstanceProducer.java
public class AzkabanSpecExecutorInstanceProducer extends AzkabanSpecExecutorInstance implements SpecExecutorInstanceProducer<Spec>, Closeable { // Session Id for GaaS User private String _sessionId;
From source file org.kiji.schema.KijiSchemaTable.java
/**
* The Kiji schema table, which contains the lookup table between schema IDs, hashes, and full
* schemas.
*
* @see KijiMetaTable
* @see KijiSystemTable
From source file io.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.apache.hadoop.hbase.regionserver.MetricsRegionWrapperImpl.java
@InterfaceAudience.Private public class MetricsRegionWrapperImpl implements MetricsRegionWrapper, Closeable { public static final int PERIOD = 45; public static final String UNKNOWN = "unknown";
From source file org.shaf.shell.Shell.java
/** * The {@code Shell} provides handling of command line commands. * * @author Mykola Galushka */ public class Shell extends EventListenerHandler implements Closeable {
From source file org.apache.sqoop.hbase.HBasePutProcessor.java
/** * SqoopRecordProcessor that performs an HBase "put" operation * that contains all the fields of the record. */ public class HBasePutProcessor implements Closeable, Configurable, FieldMapProcessor {
From source file com.lambdaworks.redis.RedisConnectionPool.java
/**
* Connection pool for redis connections.
*
* @author Mark Paluch
* @param <T> Connection type.
* @since 3.0
From source file org.dice_research.topicmodeling.io.json.stream.StreamBasedJsonDocumentSupplier.java
public class StreamBasedJsonDocumentSupplier extends AbstractDocumentJsonReader implements DocumentSupplier, Closeable { private static final Logger LOGGER = LoggerFactory.getLogger(StreamBasedJsonDocumentSupplier.class); private static final boolean USE_DOCUMENT_IDS_FROM_FILE_DEFAULT = true;