Package net.sf.joafip.store.service.garbage

Examples of net.sf.joafip.store.service.garbage.GarbageException


      } else {
        added = false;
      }
      return added;
    } catch (RBTException exception) {
      throw new GarbageException(exception);
    } catch (HeapRecordableException exception) {
      throw new GarbageException(exception);
    }
  }
View Full Code Here


            .getDataRecordIdentifier();
        visitedTree.deleteExistingNode(first);
        heapRecordableManager.delete(firstDataRecordIdentifier);
      }
    } catch (RBTException exception) {
      throw new GarbageException(exception);
    } catch (HeapRecordableException exception) {
      throw new GarbageException(exception);
    }
    return dataRecordIdentifier;
  }
View Full Code Here

  public boolean contains(final DataRecordIdentifier dataRecordIdentifier)
      throws GarbageException {
    try {
      return visitedTree.search(dataRecordIdentifier) != null;
    } catch (RBTException exception) {
      throw new GarbageException(exception);
    }
  }
View Full Code Here

  @Fortest
  public int getNumberOfVisited() throws GarbageException {
    try {
      return visitedTree.getNumberOfElement();
    } catch (RBTException exception) {
      throw new GarbageException(exception);
    }
  }
View Full Code Here

      } else {
        added = false;
      }
      return added;
    } catch (RBTException exception) {
      throw new GarbageException(exception);
    } catch (HeapRecordableException exception) {
      throw new GarbageException(exception);
    }
  }
View Full Code Here

          LOGGER.debug("removed garbage candidate record "
              + removedNode.getDataRecordIdentifier());
        }
      }
    } catch (RBTException exception) {
      throw new GarbageException(exception);
    } catch (HeapRecordableException exception) {
      throw new GarbageException(exception);
    }
    return removed;
  }
View Full Code Here

          LOGGER.debug("object data record #" + dataRecordIdentifier
              + " is first garbage candidate");
        }
      }
    } catch (RBTException exception) {
      throw new GarbageException(exception);
    } catch (HeapRecordableException exception) {
      throw new GarbageException(exception);
    }
    return dataRecordIdentifier;
  }
View Full Code Here

      if (LOGGER.debugEnabled) {
        LOGGER.debug(numberOfElement + " garbage candidate");
      }
      return numberOfElement;
    } catch (RBTException exception) {
      throw new GarbageException(exception);
    }
  }
View Full Code Here

      final DataRecordIdentifier dataRecordIdentifier)
      throws GarbageException {
    try {
      return garbageCandidateTree.search(dataRecordIdentifier) != null;
    } catch (RBTException exception) {
      throw new GarbageException(exception);
    }
  }
View Full Code Here

      for (IRBTNode<DataRecordIdentifier> rbtNode : garbageCandidateTree) {
        node = (DataRecordIdentifierRBTNode) rbtNode;
        list.add(node);
      }
    } catch (Exception exception) {
      throw new GarbageException(exception);
    }
    return list;
  }
View Full Code Here

TOP

Related Classes of net.sf.joafip.store.service.garbage.GarbageException

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.