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

  • Parsing JSON documents to java classes using gson
  • compareTo (BigDecimal)
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • JList (javax.swing)
  • JPanel (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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