Package com.linkedin.databus.core.DbusEventBuffer

Examples of com.linkedin.databus.core.DbusEventBuffer.QueuePolicy


    long sharedBufferSize = input.getSharedBufferSize() * eventSize;
    int stagingBufferSize = input.getStagingBufferSize() * eventSize;
    int individualBufferSize  = input.getIndividualBufferSize() * eventSize;
    int indexSize = input.getIndexSize() * eventSize;

    QueuePolicy prodQueuePolicy = input.getProdQueuePolicy();
    QueuePolicy consQueuePolicy = input.getConsQueuePolicy();

    //create the main event buffers
    DbusEventBuffer prodEventBuffer =
        new DbusEventBuffer(getConfig(producerBufferSize, individualBufferSize, indexSize ,
                                      stagingBufferSize, AllocationPolicy.HEAP_MEMORY,
View Full Code Here

TOP

Related Classes of com.linkedin.databus.core.DbusEventBuffer.QueuePolicy

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.