Tabnine Logo
CompressTask.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.ning.compress.lzf.parallel.CompressTask
constructor

Best Java code snippets using com.ning.compress.lzf.parallel.CompressTask.<init> (Showing top 6 results out of 315)

origin: ning/compress

/**
 * Compress and write the current block to the OutputStream
 */
protected void writeCompressedBlock() throws IOException
{
  if (_position == 0) {
    return;
  }
  Future<LZFChunk> lzfFuture = compressExecutor.submit(new CompressTask(_outputBuffer, 0, _position, blockManager));
  writeExecutor.execute(new WriteTask(out, lzfFuture, this));
  _outputBuffer = blockManager.getBlockFromPool();
  _position = 0;
  checkWriteException();
}
origin: harbby/presto-connectors

/**
 * Compress and write the current block to the OutputStream
 */
protected void writeCompressedBlock() throws IOException
{
  if (_position == 0) {
    return;
  }
  Future<LZFChunk> lzfFuture = compressExecutor.submit(new CompressTask(_outputBuffer, 0, _position, blockManager));
  writeExecutor.execute(new WriteTask(out, lzfFuture, this));
  _outputBuffer = blockManager.getBlockFromPool();
  _position = 0;
  checkWriteException();
}
origin: com.ning/compress-lzf

/**
 * Compress and write the current block to the OutputStream
 */
protected void writeCompressedBlock() throws IOException
{
  if (_position == 0) {
    return;
  }
  Future<LZFChunk> lzfFuture = compressExecutor.submit(new CompressTask(_outputBuffer, 0, _position, blockManager));
  writeExecutor.execute(new WriteTask(out, lzfFuture, this));
  _outputBuffer = blockManager.getBlockFromPool();
  _position = 0;
  checkWriteException();
}
origin: harbby/presto-connectors

Collection<CompressTask> cleanupTasks = new ArrayList<CompressTask>(maxThreads);
for (int i = 0; i < maxThreads; ++i) {
  cleanupTasks.add(new CompressTask(null, -1, -1, null));
origin: com.ning/compress-lzf

Collection<CompressTask> cleanupTasks = new ArrayList<CompressTask>(maxThreads);
for (int i = 0; i < maxThreads; ++i) {
  cleanupTasks.add(new CompressTask(null, -1, -1, null));
origin: ning/compress

Collection<CompressTask> cleanupTasks = new ArrayList<CompressTask>(maxThreads);
for (int i = 0; i < maxThreads; ++i) {
  cleanupTasks.add(new CompressTask(null, -1, -1, null));
com.ning.compress.lzf.parallelCompressTask<init>

Popular methods of CompressTask

    Popular in Java

    • Finding current android device location
    • onRequestPermissionsResult (Fragment)
    • setContentView (Activity)
    • getContentResolver (Context)
    • BufferedWriter (java.io)
      Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
    • RandomAccessFile (java.io)
      Allows reading from and writing to a file in a random-access manner. This is different from the uni-
    • Scanner (java.util)
      A parser that parses a text string of primitive types and strings with the help of regular expressio
    • JarFile (java.util.jar)
      JarFile is used to read jar entries and their associated data from jar files.
    • Cipher (javax.crypto)
      This class provides access to implementations of cryptographic ciphers for encryption and decryption
    • Options (org.apache.commons.cli)
      Main entry-point into the library. Options represents a collection of Option objects, which describ
    • CodeWhisperer alternatives
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now