Example usage for java.io Flushable interface-usage

List of usage examples for java.io Flushable interface-usage

Introduction

In this page you can find the example usage for java.io Flushable interface-usage.

Usage

From source file org.apache.avro.file.DataFileWriter.java

/** Stores in a file a sequence of data conforming to a schema.  The schema is
 * stored in the file with the data.  Each datum in a file is of the same
 * schema.  Data is written with a {@link DatumWriter}.  Data is grouped into
 * <i>blocks</i>.  A synchronization marker is written between blocks, so that
 * files may be split.  Blocks may be compressed.  Extensible metadata is
 * stored at the end of the file.  Files may be appended to.

From source file com.metamx.emitter.core.HttpPostEmitter.java

public class HttpPostEmitter implements Flushable, Closeable, Emitter {
    private static final int MAX_EVENT_SIZE = 1023 * 1024; // Set max size slightly less than 1M to allow for metadata
    private static final long BUFFER_FULL_WARNING_THROTTLE = 30000;

    private static final Logger log = new Logger(HttpPostEmitter.class);
    private static final AtomicInteger instanceCounter = new AtomicInteger();

From source file org.apache.streams.cassandra.CassandraPersistWriter.java

public class CassandraPersistWriter implements StreamsPersistWriter, Runnable, Flushable, Closeable {

    public static final String STREAMS_ID = "CassandraPersistWriter";

    private static final Logger LOGGER = LoggerFactory.getLogger(CassandraPersistWriter.class);

From source file com.healthmarketscience.jackcess.Database.java

/**
 * An Access database.
 * <p>
 * There is optional support for large indexes (enabled by default).  This
 * optional support can be disabled via a few different means:
 * <ul>

From source file org.panbox.core.crypto.io.EncRandomAccessFile.java

/**
 * @author palige
 * 
 *         Class offers transparent encryption/decryption for an encapsulated
 *         {@link RandomAccessFile}-instance. Inheritance is intentionally
 *         omitted in order to <br>

From source file org.apache.geode.internal.cache.Oplog.java

/**
 * Implements an operation log to write to disk. As of prPersistSprint2 this file only supports
 * persistent regions. For overflow only regions see {@link OverflowOplog}.
 * 
 * @since GemFire 5.1
 */