Package io.druid.offheap

Examples of io.druid.offheap.OffheapBufferPool


      }
    } catch(UnsupportedOperationException e) {
      log.info(e.getMessage());
    }

    return new OffheapBufferPool(config.intermediateComputeSizeBytes());
  }
View Full Code Here


        .build();
    final IncrementalIndex newIndex;
    if (config.isIngestOffheap()) {
      newIndex = new OffheapIncrementalIndex(
          indexSchema,
          new OffheapBufferPool(bufferSize)
      );
    } else {
      newIndex = new IncrementalIndex(
          indexSchema,
          new OffheapBufferPool(bufferSize)
      );
    }

    final FireHydrant old;
    synchronized (hydrantLock) {
View Full Code Here

          .withMetrics(aggs)
          .build();
      if (tuningConfig.isIngestOffheap()) {
        return new OffheapIncrementalIndex(
            indexSchema,
            new OffheapBufferPool(bufferSize)
        );
      } else {
        return new IncrementalIndex(
            indexSchema,
            new OffheapBufferPool(bufferSize)
        );
      }
    }
View Full Code Here

TOP

Related Classes of io.druid.offheap.OffheapBufferPool

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.