747576777879808182
return old; } public MultiSnipe getForAuctionIdentifier(String identifier) { ActiveRecord hash = EntryCorral.getInstance().takeForRead(identifier); Integer multisnipeId = hash.getInteger("multisnipe_id"); return multisnipeId == null ? null : MultiSnipe.find(multisnipeId); }
118119120121122123124125126127128129130
corral.release(identifier); } } public synchronized void remove(String identifier) { ActiveRecord ae = corral.takeForWrite(identifier); try { ae.set("multisnipe_id", null); ae.saveDB(); } finally { corral.release(identifier); } }