Example usage for java.lang AutoCloseable interface-usage

List of usage examples for java.lang AutoCloseable interface-usage

Introduction

In this page you can find the example usage for java.lang AutoCloseable interface-usage.

Usage

From source file org.springframework.cloud.stream.app.tensorflow.processor.TensorflowProcessorConfiguration.java

/**
 * A processor that evaluates a machine learning model stored in TensorFlow's ProtoBuf format.
 *
 * Processor uses a {@link TensorflowInputConverter} to convert the input data into data format compliant with the
 * TensorFlow Model used. The input converter converts the input {@link Message} into key/value {@link Map}, where
 * the Key corresponds to a model input placeholder and the content is {@link org.tensorflow.DataType} compliant value.

From source file org.apache.accumulo.core.client.rfile.RFileWriter.java

/**
 * This class provides an API for writing RFiles. It can be used to create file for bulk import into
 * Accumulo using {@link TableOperations#importDirectory(String)}
 *
 * <p>
 * A RFileWriter has the following constraints. Violating these constraints will result in runtime

From source file edu.dfci.cccb.mev.limma.domain.simple.FileBackedLimma.java

/**
 * @author levk
 * 
 */
@ToString
public class FileBackedLimma extends AbstractLimma implements AutoCloseable {

From source file org.apache.flink.cep.nfa.sharedbuffer.SharedBufferAccessor.java

/**
 * Accessor to SharedBuffer that allows operations on the underlying structures in batches.
 * Operations are persisted only after closing the Accessor.
 */
public class SharedBufferAccessor<V> implements AutoCloseable {

From source file org.apache.drill.exec.store.AbstractSchema.java

public abstract class AbstractSchema implements Schema, SchemaPartitionExplorer, AutoCloseable {
    static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(AbstractSchema.class);

    protected final List<String> schemaPath;
    protected final String name;
    private static final Expression EXPRESSION = new DefaultExpression(Object.class);

From source file com.joyent.manta.client.MantaDirectoryListingIterator.java

import static com.joyent.manta.client.MantaObjectResponse.DIRECTORY_RESPONSE_CONTENT_TYPE;
import static com.joyent.manta.util.MantaUtils.formatPath;

/**
 * <p>Class that wraps the paging of directory listing in Manta to a single
 * continuous iterator.</p>

From source file edu.umich.oasis.service.KVSSharedPrefs.java

public final class KVSSharedPrefs extends IRemoteSharedPrefs.Stub implements AutoCloseable {
    private static final String TAG = "OASIS.SharedPrefs.Impl";
    private static final boolean localLOGV = Log.isLoggable(TAG, Log.VERBOSE);
    private static final boolean localLOGD = Log.isLoggable(TAG, Log.DEBUG);

    private static final char SEPARATOR = ':';

From source file org.codice.ddf.catalog.migratable.impl.MigrationTaskManager.java

/**
 * Encapsulates all threading state for the catalog migration process and allows inspection of
 * its progress through a public API and the Guava asynchronous call-backs.
 * <p>
 * Repeat calls to exportMetacardQuery({@link List<Result>} results, {@link Long} exportGroupCount)
 * as needed to add file write tasks to the {@link java.util.concurrent.BlockingQueue} of the

From source file org.xwiki.extension.repository.aether.internal.XWikiRepositorySystemSession.java

/**
 * Encapsulate {@link DefaultRepositorySystemSession} to generate and clean a temporary local repository for each
 * sessions.
 *
 * @version $Id: 437186ba9d0ab48539bbb5316866fb6a8cded314 $
 * @since 6.0

From source file edu.umich.flowfence.service.KVSSharedPrefs.java

public final class KVSSharedPrefs extends IRemoteSharedPrefs.Stub implements AutoCloseable {
    private static final String TAG = "FF.SharedPrefs.Impl";
    private static final boolean localLOGV = Log.isLoggable(TAG, Log.VERBOSE);
    private static final boolean localLOGD = Log.isLoggable(TAG, Log.DEBUG);

    private static final char SEPARATOR = ':';