Package net.sf.joafip.store.entity.garbage

Examples of net.sf.joafip.store.entity.garbage.ReferencingReferencedKey


   * @throws GarbageException
   */
  public void addLink(
      final DataRecordIdentifier referencingDataRecordIdentifier,
      final DataRecordIdentifier referencedDataRecordIdentifier) {
    final ReferencingReferencedKey key = new ReferencingReferencedKey(
        referencingDataRecordIdentifier, referencedDataRecordIdentifier);
    if (LOGGER.debugEnabled) {
      LOGGER.debug("add link " + key);
    }
    final MutableInteger count = linkMap.get(key);
View Full Code Here


   * @throws GarbageException
   */
  public void removeLink(
      final DataRecordIdentifier referencingDataRecordIdentifier,
      final DataRecordIdentifier referencedDataRecordIdentifier) {
    final ReferencingReferencedKey key = new ReferencingReferencedKey(
        referencingDataRecordIdentifier, referencedDataRecordIdentifier);
    if (LOGGER.debugEnabled) {
      LOGGER.debug("remove link " + key);
    }
    final MutableInteger count = linkMap.get(key);
View Full Code Here

   */
  public void linkUpdate() throws GarbageException,
      ReferenceLinkGarbageException {
    for (Map.Entry<ReferencingReferencedKey, MutableInteger> entry : linkMap
        .entrySet()) {
      final ReferencingReferencedKey key = entry.getKey();
      final DataRecordIdentifier referencingDataRecordIdentifier = key
          .getReferencingDataRecordIdentifier();
      final DataRecordIdentifier referencedDataRecordIdentifier = key
          .getReferencedDataRecordIdentifier();
      final int count = entry.getValue().getValue();
      linkUpdate(referencingDataRecordIdentifier,
          referencedDataRecordIdentifier, count);
    }
View Full Code Here

TOP

Related Classes of net.sf.joafip.store.entity.garbage.ReferencingReferencedKey

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.