Tabnine Logo
CompressTask
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using com.ning.compress.lzf.parallel.CompressTask (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

Most used methods

  • <init>

Popular in Java

  • Creating JSON documents from java classes using gson
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (Timer)
  • getResourceAsStream (ClassLoader)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • From CI to AI: The AI layer in your organization
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