Package com.jbidwatcher.util.db

Examples of com.jbidwatcher.util.db.ActiveRecord


    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);
  }
View Full Code Here


      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);
    }
  }
View Full Code Here

TOP

Related Classes of com.jbidwatcher.util.db.ActiveRecord

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.