Package net.sf.joafip.store.service

Examples of net.sf.joafip.store.service.StoreException


  public void flush() throws StoreException {
    /* now can save the record for class name and garbage */
    try {
      heapRecordableManager.save();
    } catch (final HeapRecordableException exception) {
      throw new StoreException(exception);
    }
    dataManagerFlush();
  }
View Full Code Here


      try {
        clearStateAndModification();
      } catch (final Throwable t) {// NOPMD ignore all errors
      }
      LOGGER.fatal(FAILED_PUT_MODIFICATION_ON_FILE, exception);
      throw new StoreException(FAILED_PUT_MODIFICATION_ON_FILE, exception);
    }
  }
View Full Code Here

    session.initialize();
    try {
      dataManager.clearStandbyModification();
    } catch (final HeapException exception) {
      LOGGER.fatal(FAILED_CANCEL_MODIFICATION_ON_FILE);
      throw new StoreException(FAILED_CANCEL_MODIFICATION_ON_FILE,
          exception);
    }
  }
View Full Code Here

  public void addObject(final String key, final Object object)
      throws StoreException {
    final KeptInMemoryObjectKey keptKey = new KeptInMemoryObjectKey(key);
    if (objectByKeyMap.put(keptKey, object) != null) {
      throw new StoreException("key " + key + " already used");
    }
    if (keyByObjectMap.put(object, keptKey) != null) {
      throw new StoreException("object " + identityString(object)
          + " already recorded");
    }
  }
View Full Code Here

TOP

Related Classes of net.sf.joafip.store.service.StoreException

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.