Esempio n. 1
0
 /**
  * Load the pin belonging to the PinTask.
  *
  * @throw CacheException if the pin no longer exists or is no longer in PINNING.
  */
 protected Pin loadPinBelongingTo(PinTask task) throws CacheException {
   Pin pin = _dao.getPin(task.getPinId(), task.getSticky(), PINNING);
   if (pin == null) {
     throw new CacheException("Operation was aborted");
   }
   return pin;
 }