Package org.teiid.common.buffer.impl

Examples of org.teiid.common.buffer.impl.BufferManagerImpl.initialize()


    private BufferManager createCustomBufferMgr(int batchSize) throws TeiidComponentException {
        BufferManagerImpl bufferMgr = new BufferManagerImpl();
        bufferMgr.setConnectorBatchSize(batchSize);
        bufferMgr.setProcessorBatchSize(batchSize);
        bufferMgr.initialize();

        // Add unmanaged memory storage manager
        bufferMgr.setStorageManager(new MemoryStorageManager());

        return bufferMgr;
View Full Code Here


    }

  public static BufferManagerImpl createBufferManager() {
    BufferManagerImpl bufferMgr = new BufferManagerImpl();
    try {
      bufferMgr.initialize();
    } catch (TeiidComponentException e) {
      throw new RuntimeException(e);
    }

    // Add unmanaged memory storage manager
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.