Package net.sf.joafip.kvstore.service

Examples of net.sf.joafip.kvstore.service.HeapException


    this.file = file;
  }

  public File getFile() throws HeapException {
    if (file == null) {
      throw new HeapException("missing file parameter");
    }
    return file;
  }
View Full Code Here


    this.maxRetry = maxRetry;
  }

  public int getMaxRetry() throws HeapException {
    if (maxRetry == null) {
      throw new HeapException("missing max retry parameter");
    }
    return maxRetry;
  }
View Full Code Here

    this.retryMsDelay = retryMsDelay;
  }

  public int getRetryMsDelay() throws HeapException {
    if (retryMsDelay == null) {
      throw new HeapException("missing retry wait time parameter");
    }
    return retryMsDelay;
  }
View Full Code Here

    this.useCache = useCache;
  }

  public boolean isUseCache() throws HeapException {
    if (useCache == null) {
      throw new HeapException("missing use cache parameter");
    }
    return useCache;
  }
View Full Code Here

    this.useReadCache = useReadCache;
  }

  public boolean isUseReadCache() throws HeapException {
    if (useReadCache == null) {
      throw new HeapException("missing use read cache parameter");
    }
    return useReadCache;
  }
View Full Code Here

    this.pageSize = pageSize;
  }

  public int getPageSize() throws HeapException {
    if (pageSize == null) {
      throw new HeapException("missing page size parameter");
    }
    return pageSize;
  }
View Full Code Here

    this.maxPage = maxPage;
  }

  public int getMaxPage() throws HeapException {
    if (maxPage == null) {
      throw new HeapException("missing max page parameter");
    }
    return maxPage;
  }
View Full Code Here

    this.maxBufferSize = maxBufferSize;
  }

  public int getMaxBufferSize() throws HeapException {
    if (maxBufferSize == null) {
      throw new HeapException("missing max buffer size parameter");
    }
    return maxBufferSize;
  }
View Full Code Here

    this.maxNumberOfBuffer = maxNumberOfBuffer;
  }

  public int getMaxNumberOfBuffer() throws HeapException {
    if (maxNumberOfBuffer == null) {
      throw new HeapException("mising max number of buffers parameter");
    }
    return maxNumberOfBuffer;
  }
View Full Code Here

        && recordSize != 0
        && recordSize < DATA_RECORD_HEADER_SIZE
            + nodeIdentifier.getKeyDataSize() + dataAssociatedSize
            + 4) {
      logger.fatal(RECORD_SIZE_TO_SMALL_FOR_DATA);
      throw new HeapException(new HeapException(
          RECORD_SIZE_TO_SMALL_FOR_DATA));
    }
    return true;
  }
View Full Code Here

TOP

Related Classes of net.sf.joafip.kvstore.service.HeapException

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.