Examples of BufferNotFoundException


Examples of com.linkedin.databus2.core.BufferNotFoundException

  public void resetBuffer(PhysicalPartition pPartition, long prevScn)
  throws BufferNotFoundException
  {
    DbusEventBuffer buf = getOneBuffer(pPartition);
    if(buf == null) {
      throw new BufferNotFoundException("cannot find buf for partition " + pPartition);
    }
    buf.reset(prevScn);
  }
View Full Code Here

Examples of com.linkedin.databus2.core.BufferNotFoundException

          if (null == buf)
          {
            // in this case we want to disconnect the client
            String errMsg = "Buffer not found for physicalPartitionKey " + pKey;
            LOG.error(errMsg);
            throw new BufferNotFoundException(errMsg);
          }
          PhysicalPartition pPartition = pKey.getPhysicalPartition();
          DbusEventsStatisticsCollector statsCollector = _statsCollectors == null ? null : _statsCollectors.getStatsCollector(pPartition.toSimpleString());

          Checkpoint cp=null;
View Full Code Here

Examples of com.linkedin.databus2.core.BufferNotFoundException

    DbusEventBuffer evb = _eventBufferMult.getOneBuffer(pPart);
       
    if ( null == evb)
    {
      LOG.error("BufferInfoRequest : Buffer not available for physical partition :" + pPart);
        throw new BufferNotFoundException("Buffer not available for partition :" + pPart);
    }
   
    BufferInfoResponse response = new BufferInfoResponse();
    response.setMinScn(evb.getMinScn());
    response.setMaxScn(evb.lastWrittenScn());
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.