Example usage for org.apache.hadoop.fs Syncable interface-usage

List of usage examples for org.apache.hadoop.fs Syncable interface-usage

Introduction

In this page you can find the example usage for org.apache.hadoop.fs Syncable interface-usage.

Usage

From source file c5db.log.OLogShim.java

/**
 * A distributed WriteAheadLog using c5's replication algorithm
 */
public class OLogShim implements Syncable, HLog {
    private static final Logger LOG = LoggerFactory.getLogger(OLogShim.class);

From source file com.google.cloud.hadoop.fs.gcs.GoogleHadoopSyncableOutputStream.java

/**
 * GoogleHadoopSyncableOutputStream implements the {@code Syncable} interface by composing
 * objects created in separate underlying streams for each hsync() call.
 * <p>
 * Prior to the first hsync(), sync() or close() call, this channel will behave the same way as a
 * basic non-syncable channel, writing directly to the destination file.

From source file com.mellanox.r4h.DFSOutputStream.java

/****************************************************************
 * DFSOutputStream creates files from a stream of bytes.
 * 
 * The client application writes data that is cached internally by
 * this stream. Data is broken up into packets, each packet is
 * typically 64K in size. A packet comprises of chunks. Each chunk

From source file org.lafs.hdfs.LAFSOutputStream.java

public class LAFSOutputStream extends OutputStream implements Syncable {

    private static final Logger logger = Logger.getLogger(LAFSOutputStream.class.getName());

    private HttpURLConnection conn;
    private OutputStream stream;